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

org.sonar.maven.model.maven2.Resource Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2016.04.14 at 01:47:18 PM UTC 
//


package org.sonar.maven.model.maven2;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.sonar.maven.model.LocatedAttribute;
import org.sonar.maven.model.LocatedAttributeAdapter;
import org.sonar.maven.model.LocatedTreeImpl;


/**
 * This element describes all of the classpath resources associated with a project
 *         or unit tests.
 * 
 * 

Java class for Resource complex type. * *

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

 * <complexType name="Resource">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <all>
 *         <element name="targetPath" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="filtering" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="directory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="includes" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="include" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="excludes" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="exclude" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </all>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Resource", propOrder = { }) public class Resource extends LocatedTreeImpl { @XmlElement(type = String.class) @XmlJavaTypeAdapter(LocatedAttributeAdapter.class) protected LocatedAttribute targetPath; @XmlElement(type = String.class) @XmlJavaTypeAdapter(LocatedAttributeAdapter.class) protected LocatedAttribute filtering; @XmlElement(type = String.class) @XmlJavaTypeAdapter(LocatedAttributeAdapter.class) protected LocatedAttribute directory; protected Resource.Includes includes; protected Resource.Excludes excludes; /** * Gets the value of the targetPath property. * * @return * possible object is * {@link String } * */ public LocatedAttribute getTargetPath() { return targetPath; } /** * Sets the value of the targetPath property. * * @param value * allowed object is * {@link String } * */ public void setTargetPath(LocatedAttribute value) { this.targetPath = value; } /** * Gets the value of the filtering property. * * @return * possible object is * {@link String } * */ public LocatedAttribute getFiltering() { return filtering; } /** * Sets the value of the filtering property. * * @param value * allowed object is * {@link String } * */ public void setFiltering(LocatedAttribute value) { this.filtering = value; } /** * Gets the value of the directory property. * * @return * possible object is * {@link String } * */ public LocatedAttribute getDirectory() { return directory; } /** * Sets the value of the directory property. * * @param value * allowed object is * {@link String } * */ public void setDirectory(LocatedAttribute value) { this.directory = value; } /** * Gets the value of the includes property. * * @return * possible object is * {@link Resource.Includes } * */ public Resource.Includes getIncludes() { return includes; } /** * Sets the value of the includes property. * * @param value * allowed object is * {@link Resource.Includes } * */ public void setIncludes(Resource.Includes value) { this.includes = value; } /** * Gets the value of the excludes property. * * @return * possible object is * {@link Resource.Excludes } * */ public Resource.Excludes getExcludes() { return excludes; } /** * Sets the value of the excludes property. * * @param value * allowed object is * {@link Resource.Excludes } * */ public void setExcludes(Resource.Excludes value) { this.excludes = 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="exclude" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "excludes" }) public static class Excludes extends LocatedTreeImpl { @XmlElement(name = "exclude", type = String.class) @XmlJavaTypeAdapter(LocatedAttributeAdapter.class) protected List excludes; /** * Gets the value of the excludes 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 JAXB object. * This is why there is not a set method for the excludes property. * *

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

         *    getExcludes().add(newItem);
         * 
* * *

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

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="include" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "includes" }) public static class Includes extends LocatedTreeImpl { @XmlElement(name = "include", type = String.class) @XmlJavaTypeAdapter(LocatedAttributeAdapter.class) protected List includes; /** * Gets the value of the includes 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 JAXB object. * This is why there is not a set method for the includes property. * *

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

         *    getIncludes().add(newItem);
         * 
* * *

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





© 2015 - 2025 Weber Informatics LLC | Privacy Policy