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
ConstructorDescriptionAbstractIncludeExcludeRule
(ArtifactId aid, PatternMatcher matcher, Map<String, String> extraAttributes) -
Method Summary
Methods inherited from class org.apache.ivy.util.extendable.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
public int hashCode() -
addConfiguration
Add a configuration for this rule- Specified by:
addConfiguration
in interfaceConfigurationAware
- Parameters:
conf
- String
-
getId
-
getConfigurations
Description copied from interface:ConfigurationAware
Returns the configurations of the module to which the object is attached- Specified by:
getConfigurations
in interfaceConfigurationAware
- Returns:
- an array of configuration names to which the object is attached
-
getMatcher
-
toString
-