org.apache.ivy.core.module.descriptor

Class AbstractIncludeExcludeRule

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
AbstractIncludeExcludeRule(ArtifactId aid, PatternMatcher matcher, Map extraAttributes)
Method Summary
voidaddConfiguration(String conf)
Add a configuration for this rule
booleanequals(Object obj)
String[]getConfigurations()
ArtifactIdgetId()
PatternMatchergetMatcher()
inthashCode()
StringtoString()

Constructor Detail

AbstractIncludeExcludeRule

public AbstractIncludeExcludeRule(ArtifactId aid, PatternMatcher matcher, Map extraAttributes)

Method Detail

addConfiguration

public void addConfiguration(String conf)
Add a configuration for this rule

Parameters: conf

equals

public boolean equals(Object obj)

getConfigurations

public String[] getConfigurations()

getId

public ArtifactId getId()

getMatcher

public PatternMatcher getMatcher()

hashCode

public int hashCode()

toString

public String toString()