java.lang.Object
de.codesourcery.versiontracker.xsd.Rule

public class Rule extends Object
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>
 
  • Field Details

    • ignoreVersions

      protected Rule.IgnoreVersions ignoreVersions
    • groupId

      protected String groupId
    • artifactId

      protected String artifactId
    • comparisonMethod

      protected String comparisonMethod
  • Constructor Details

    • Rule

      public Rule()
  • Method Details

    • getIgnoreVersions

      public Rule.IgnoreVersions getIgnoreVersions()
      Gets the value of the ignoreVersions property.
      Returns:
      possible object is Rule.IgnoreVersions
    • setIgnoreVersions

      public void setIgnoreVersions(Rule.IgnoreVersions value)
      Sets the value of the ignoreVersions property.
      Parameters:
      value - allowed object is Rule.IgnoreVersions
    • getGroupId

      public String getGroupId()
      Gets the value of the groupId property.
      Returns:
      possible object is String
    • setGroupId

      public void setGroupId(String value)
      Sets the value of the groupId property.
      Parameters:
      value - allowed object is String
    • getArtifactId

      public String getArtifactId()
      Gets the value of the artifactId property.
      Returns:
      possible object is String
    • setArtifactId

      public void setArtifactId(String value)
      Sets the value of the artifactId property.
      Parameters:
      value - allowed object is String
    • getComparisonMethod

      public String getComparisonMethod()
      Gets the value of the comparisonMethod property.
      Returns:
      possible object is String
    • setComparisonMethod

      public void setComparisonMethod(String value)
      Sets the value of the comparisonMethod property.
      Parameters:
      value - allowed object is String