|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.mojo.versions.model.RuleSet
public class RuleSet
Describes a set of rules for how versions of artifacts should be handled.
| Constructor Summary | |
|---|---|
RuleSet()
Creates a new empty rule set. |
|
| Method Summary | |
|---|---|
void |
addIgnoreVersion(IgnoreVersion ignoreVersion)
Method addIgnoreVersion. |
void |
addRule(Rule rule)
Method addRule. |
String |
getComparisonMethod()
Get the comparison method to use when no rule matches. |
List<IgnoreVersion> |
getIgnoreVersions()
Method getIgnoreVersions. |
String |
getModelEncoding()
Get the modelEncoding field. |
List<Rule> |
getRules()
Method getRules. |
void |
removeIgnoreVersion(IgnoreVersion ignoreVersion)
Method removeIgnoreVersion. |
void |
removeRule(Rule rule)
Method removeRule. |
void |
setComparisonMethod(String comparisonMethod)
Set the comparison method to use when no rule matches. |
void |
setIgnoreVersions(List<IgnoreVersion> ignoreVersions)
Set version patterns to ignore for all artifacts. |
void |
setModelEncoding(String modelEncoding)
Set the modelEncoding field. |
void |
setRules(List<Rule> rules)
Set the rules field. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RuleSet()
| Method Detail |
|---|
public void addIgnoreVersion(IgnoreVersion ignoreVersion)
ignoreVersion - public void addRule(Rule rule)
rule - public String getComparisonMethod()
public List<IgnoreVersion> getIgnoreVersions()
public String getModelEncoding()
public List<Rule> getRules()
public void removeIgnoreVersion(IgnoreVersion ignoreVersion)
ignoreVersion - public void removeRule(Rule rule)
rule - public void setComparisonMethod(String comparisonMethod)
comparisonMethod - public void setIgnoreVersions(List<IgnoreVersion> ignoreVersions)
ignoreVersions - public void setModelEncoding(String modelEncoding)
modelEncoding - public void setRules(List<Rule> rules)
rules - public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||