Class Rule
java.lang.Object
de.codesourcery.versiontracker.xsd.Rule
Describes a rule for how versions of artifacts should be handled. This is marked deprecated and will be removed with release 3.0.0 of the versions-maven-plugin.
Java class for Rule complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Rule">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<all>
<element name="ignoreVersions" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ignoreVersion" type="{http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0}IgnoreVersion" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</all>
<attribute name="groupId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="artifactId" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="comparisonMethod" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Rule.IgnoreVersions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the artifactId property.Gets the value of the comparisonMethod property.Gets the value of the groupId property.Gets the value of the ignoreVersions property.voidsetArtifactId(String value) Sets the value of the artifactId property.voidsetComparisonMethod(String value) Sets the value of the comparisonMethod property.voidsetGroupId(String value) Sets the value of the groupId property.voidSets the value of the ignoreVersions property.
-
Field Details
-
ignoreVersions
-
groupId
-
artifactId
-
comparisonMethod
-
-
Constructor Details
-
Rule
public Rule()
-
-
Method Details
-
getIgnoreVersions
Gets the value of the ignoreVersions property.- Returns:
- possible object is
Rule.IgnoreVersions
-
setIgnoreVersions
Sets the value of the ignoreVersions property.- Parameters:
value- allowed object isRule.IgnoreVersions
-
getGroupId
Gets the value of the groupId property.- Returns:
- possible object is
String
-
setGroupId
Sets the value of the groupId property.- Parameters:
value- allowed object isString
-
getArtifactId
Gets the value of the artifactId property.- Returns:
- possible object is
String
-
setArtifactId
Sets the value of the artifactId property.- Parameters:
value- allowed object isString
-
getComparisonMethod
Gets the value of the comparisonMethod property.- Returns:
- possible object is
String
-
setComparisonMethod
Sets the value of the comparisonMethod property.- Parameters:
value- allowed object isString
-