Interface ExcludeRule
-
- All Superinterfaces:
ExtendableItem
- All Known Implementing Classes:
DefaultExcludeRule
public interface ExcludeRule extends ExtendableItem
This describes a rule of exclusion. It is used to restrict the artifacts asked for a dependency, by excluding a whole module or some artifacts of a dependency.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String[]
getConfigurations()
Returns the configurations of the module in which the artifact is askedArtifactId
getId()
Returns the id of the described artifact, without revision informationPatternMatcher
getMatcher()
Returns the matcher to use to know if an artifact match the current descriptor-
Methods inherited from interface org.apache.ivy.util.extendable.ExtendableItem
getAttribute, getAttributes, getExtraAttribute, getExtraAttributes, getQualifiedExtraAttributes
-
-
-
-
Method Detail
-
getId
ArtifactId getId()
Returns the id of the described artifact, without revision information- Returns:
- ArtifactId
-
getConfigurations
java.lang.String[] getConfigurations()
Returns the configurations of the module in which the artifact is asked- Returns:
- an array of configuration names in which the artifact is asked
-
getMatcher
PatternMatcher getMatcher()
Returns the matcher to use to know if an artifact match the current descriptor- Returns:
- PatternMatcher
-
-