All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.codesourcery.versiontracker.xsd.Ruleset Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2024.09.12 at 04:57:23 PM CEST 
//


package de.codesourcery.versiontracker.xsd;

import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;


/**
 * Describes a set of rules for how versions of artifacts should be handled.
 * 
 * 

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType>
 *   <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>
 *         <element name="rules" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="rule" type="{http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0}Rule" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </all>
 *       <attribute name="comparisonMethod" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { }) @XmlRootElement(name = "ruleset") public class Ruleset { protected Ruleset.IgnoreVersions ignoreVersions; protected Ruleset.Rules rules; @XmlAttribute(name = "comparisonMethod", required = true) protected String comparisonMethod; /** * Gets the value of the ignoreVersions property. * * @return * possible object is * {@link Ruleset.IgnoreVersions } * */ public Ruleset.IgnoreVersions getIgnoreVersions() { return ignoreVersions; } /** * Sets the value of the ignoreVersions property. * * @param value * allowed object is * {@link Ruleset.IgnoreVersions } * */ public void setIgnoreVersions(Ruleset.IgnoreVersions value) { this.ignoreVersions = value; } /** * Gets the value of the rules property. * * @return * possible object is * {@link Ruleset.Rules } * */ public Ruleset.Rules getRules() { return rules; } /** * Sets the value of the rules property. * * @param value * allowed object is * {@link Ruleset.Rules } * */ public void setRules(Ruleset.Rules value) { this.rules = value; } /** * Gets the value of the comparisonMethod property. * * @return * possible object is * {@link String } * */ public String getComparisonMethod() { return comparisonMethod; } /** * Sets the value of the comparisonMethod property. * * @param value * allowed object is * {@link String } * */ public void setComparisonMethod(String value) { this.comparisonMethod = value; } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <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>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "ignoreVersion" }) public static class IgnoreVersions { protected List ignoreVersion; /** * Gets the value of the ignoreVersion property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the Jakarta XML Binding object. * This is why there is not a set method for the ignoreVersion property. * *

* For example, to add a new item, do as follows: *

         *    getIgnoreVersion().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link IgnoreVersion } * * */ public List getIgnoreVersion() { if (ignoreVersion == null) { ignoreVersion = new ArrayList(); } return this.ignoreVersion; } } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <sequence>
     *         <element name="rule" type="{http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0}Rule" maxOccurs="unbounded" minOccurs="0"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "rule" }) public static class Rules { protected List rule; /** * Gets the value of the rule property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the Jakarta XML Binding object. * This is why there is not a set method for the rule property. * *

* For example, to add a new item, do as follows: *

         *    getRule().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Rule } * * */ public List getRule() { if (rule == null) { rule = new ArrayList(); } return this.rule; } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy