Class AbstractIncludeExcludeRule
java.lang.Object
org.apache.ivy.util.extendable.UnmodifiableExtendableItem
org.apache.ivy.core.module.descriptor.AbstractIncludeExcludeRule
- All Implemented Interfaces:
ConfigurationAware, ExtendableItem
- Direct Known Subclasses:
DefaultExcludeRule, DefaultIncludeRule
public abstract class AbstractIncludeExcludeRule
extends UnmodifiableExtendableItem
implements ConfigurationAware
Abstract class used as implementation for both
IncludeRule and ExcludeRule, since
their contract is almost identical-
Constructor Summary
ConstructorsConstructorDescriptionAbstractIncludeExcludeRule(ArtifactId aid, PatternMatcher matcher, Map<String, String> extraAttributes) -
Method Summary
Methods inherited from class UnmodifiableExtendableItem
getAttribute, getAttributes, getExtraAttribute, getExtraAttributes, getQualifiedExtraAttributes, setExtraAttribute, setStandardAttribute
-
Constructor Details
-
AbstractIncludeExcludeRule
public AbstractIncludeExcludeRule(ArtifactId aid, PatternMatcher matcher, Map<String, String> extraAttributes)
-
-
Method Details
-
equals
-
hashCode
-
addConfiguration
Add a configuration for this rule- Specified by:
addConfigurationin interfaceConfigurationAware- Parameters:
conf- String
-
getId
-
getConfigurations
Description copied from interface:ConfigurationAwareReturns the configurations of the module to which the object is attached- Specified by:
getConfigurationsin interfaceConfigurationAware- Returns:
- an array of configuration names to which the object is attached
-
getMatcher
-
toString
-