public abstract class AbstractIncludeExcludeRule extends UnmodifiableExtendableItem implements ConfigurationAware
IncludeRule
and ExcludeRule
, since
their contract is almost identicalConstructor and Description |
---|
AbstractIncludeExcludeRule(ArtifactId aid,
PatternMatcher matcher,
java.util.Map extraAttributes) |
Modifier and Type | Method and Description |
---|---|
void |
addConfiguration(java.lang.String conf)
Add a configuration for this rule
|
boolean |
equals(java.lang.Object obj) |
java.lang.String[] |
getConfigurations()
Returns the configurations of the module to which the object is attached
|
ArtifactId |
getId() |
PatternMatcher |
getMatcher() |
int |
hashCode() |
java.lang.String |
toString() |
getAttribute, getAttributes, getExtraAttribute, getExtraAttributes, getQualifiedExtraAttributes, setExtraAttribute, setStandardAttribute
public AbstractIncludeExcludeRule(ArtifactId aid, PatternMatcher matcher, java.util.Map extraAttributes)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void addConfiguration(java.lang.String conf)
addConfiguration
in interface ConfigurationAware
conf
- public ArtifactId getId()
public java.lang.String[] getConfigurations()
ConfigurationAware
getConfigurations
in interface ConfigurationAware
public PatternMatcher getMatcher()
public java.lang.String toString()
toString
in class java.lang.Object