|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.mojo.versions.model.Rule
public class Rule
Describes a rule for how versions of artifacts should be handled.
| Constructor Summary | |
|---|---|
Rule()
Creates a new empty rule. |
|
| Method Summary | |
|---|---|
void |
addIgnoreVersion(IgnoreVersion ignoreVersion)
Method addIgnoreVersion. |
String |
getArtifactId()
Get the artifactId to which this rule applies. |
String |
getComparisonMethod()
Get the comparison method that this rule specifies. |
String |
getGroupId()
Get the for groupId to which this rule applies. |
List<IgnoreVersion> |
getIgnoreVersions()
Method getIgnoreVersions. |
void |
removeIgnoreVersion(IgnoreVersion ignoreVersion)
Method removeIgnoreVersion. |
void |
setArtifactId(String artifactId)
Set the artifactId to which this rule applies. |
void |
setComparisonMethod(String comparisonMethod)
Set the comparison method that this rule specifies. |
void |
setGroupId(String groupId)
Set the for groupId to which this rule applies. |
void |
setIgnoreVersions(List<IgnoreVersion> ignoreVersions)
Set version patterns to ignore for this rule. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Rule()
| Method Detail |
|---|
public void addIgnoreVersion(IgnoreVersion ignoreVersion)
ignoreVersion - public String getArtifactId()
public String getComparisonMethod()
public String getGroupId()
public List<IgnoreVersion> getIgnoreVersions()
public void removeIgnoreVersion(IgnoreVersion ignoreVersion)
ignoreVersion - public void setArtifactId(String artifactId)
artifactId - public void setComparisonMethod(String comparisonMethod)
comparisonMethod - public void setGroupId(String groupId)
groupId - public void setIgnoreVersions(List<IgnoreVersion> ignoreVersions)
ignoreVersions - public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||