Coverage Report - org.owasp.dependencycheck.jaxb.pom.generated.Notifier
 
Classes in this File Line Coverage Branch Coverage Complexity
Notifier
0%
0/23
N/A
1.067
Notifier$Configuration
0%
0/4
0%
0/2
1.067
 
 1  
 //
 2  
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
 3  
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
 4  
 // Any modifications to this file will be lost upon recompilation of the source schema.
 5  
 // Generated on: 2012.11.09 at 12:33:57 PM EST
 6  
 //
 7  
 
 8  
 
 9  
 package org.owasp.dependencycheck.jaxb.pom.generated;
 10  
 
 11  
 import java.util.ArrayList;
 12  
 import java.util.List;
 13  
 import javax.annotation.Generated;
 14  
 import javax.xml.bind.annotation.XmlAccessType;
 15  
 import javax.xml.bind.annotation.XmlAccessorType;
 16  
 import javax.xml.bind.annotation.XmlAnyElement;
 17  
 import javax.xml.bind.annotation.XmlElement;
 18  
 import javax.xml.bind.annotation.XmlType;
 19  
 import org.w3c.dom.Element;
 20  
 
 21  
 
 22  
 /**
 23  
  *
 24  
  *         Configures one method for notifying users/developers when a build breaks.
 25  
  *
 26  
  *
 27  
  * <p>Java class for Notifier complex type.
 28  
  *
 29  
  * <p>The following schema fragment specifies the expected content contained within this class.
 30  
  *
 31  
  * <pre>
 32  
  * &lt;complexType name="Notifier">
 33  
  *   &lt;complexContent>
 34  
  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 35  
  *       &lt;all>
 36  
  *         &lt;element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 37  
  *         &lt;element name="sendOnError" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 38  
  *         &lt;element name="sendOnFailure" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 39  
  *         &lt;element name="sendOnSuccess" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 40  
  *         &lt;element name="sendOnWarning" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 41  
  *         &lt;element name="address" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 42  
  *         &lt;element name="configuration" minOccurs="0">
 43  
  *           &lt;complexType>
 44  
  *             &lt;complexContent>
 45  
  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 46  
  *                 &lt;sequence>
 47  
  *                   &lt;any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
 48  
  *                 &lt;/sequence>
 49  
  *               &lt;/restriction>
 50  
  *             &lt;/complexContent>
 51  
  *           &lt;/complexType>
 52  
  *         &lt;/element>
 53  
  *       &lt;/all>
 54  
  *     &lt;/restriction>
 55  
  *   &lt;/complexContent>
 56  
  * &lt;/complexType>
 57  
  * </pre>
 58  
  *
 59  
  *
 60  
  */
 61  
 @XmlAccessorType(XmlAccessType.FIELD)
 62  
 @XmlType(name = "Notifier", propOrder = {
 63  
 
 64  
 })
 65  
 @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 66  0
 public class Notifier {
 67  
 
 68  
     @XmlElement(defaultValue = "mail")
 69  
     @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 70  
     protected String type;
 71  
     @XmlElement(defaultValue = "true")
 72  
     @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 73  
     protected Boolean sendOnError;
 74  
     @XmlElement(defaultValue = "true")
 75  
     @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 76  
     protected Boolean sendOnFailure;
 77  
     @XmlElement(defaultValue = "true")
 78  
     @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 79  
     protected Boolean sendOnSuccess;
 80  
     @XmlElement(defaultValue = "true")
 81  
     @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 82  
     protected Boolean sendOnWarning;
 83  
     @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 84  
     protected String address;
 85  
     @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 86  
     protected Notifier.Configuration configuration;
 87  
 
 88  
     /**
 89  
      * Gets the value of the type property.
 90  
      *
 91  
      * @return
 92  
      *     possible object is
 93  
      *     {@link String }
 94  
      *
 95  
      */
 96  
     @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 97  
     public String getType() {
 98  0
         return type;
 99  
     }
 100  
 
 101  
     /**
 102  
      * Sets the value of the type property.
 103  
      *
 104  
      * @param value
 105  
      *     allowed object is
 106  
      *     {@link String }
 107  
      *
 108  
      */
 109  
     @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 110  
     public void setType(String value) {
 111  0
         this.type = value;
 112  0
     }
 113  
 
 114  
     /**
 115  
      * Gets the value of the sendOnError property.
 116  
      *
 117  
      * @return
 118  
      *     possible object is
 119  
      *     {@link Boolean }
 120  
      *
 121  
      */
 122  
     @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 123  
     public Boolean isSendOnError() {
 124  0
         return sendOnError;
 125  
     }
 126  
 
 127  
     /**
 128  
      * Sets the value of the sendOnError property.
 129  
      *
 130  
      * @param value
 131  
      *     allowed object is
 132  
      *     {@link Boolean }
 133  
      *
 134  
      */
 135  
     @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 136  
     public void setSendOnError(Boolean value) {
 137  0
         this.sendOnError = value;
 138  0
     }
 139  
 
 140  
     /**
 141  
      * Gets the value of the sendOnFailure property.
 142  
      *
 143  
      * @return
 144  
      *     possible object is
 145  
      *     {@link Boolean }
 146  
      *
 147  
      */
 148  
     @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 149  
     public Boolean isSendOnFailure() {
 150  0
         return sendOnFailure;
 151  
     }
 152  
 
 153  
     /**
 154  
      * Sets the value of the sendOnFailure property.
 155  
      *
 156  
      * @param value
 157  
      *     allowed object is
 158  
      *     {@link Boolean }
 159  
      *
 160  
      */
 161  
     @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 162  
     public void setSendOnFailure(Boolean value) {
 163  0
         this.sendOnFailure = value;
 164  0
     }
 165  
 
 166  
     /**
 167  
      * Gets the value of the sendOnSuccess property.
 168  
      *
 169  
      * @return
 170  
      *     possible object is
 171  
      *     {@link Boolean }
 172  
      *
 173  
      */
 174  
     @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 175  
     public Boolean isSendOnSuccess() {
 176  0
         return sendOnSuccess;
 177  
     }
 178  
 
 179  
     /**
 180  
      * Sets the value of the sendOnSuccess property.
 181  
      *
 182  
      * @param value
 183  
      *     allowed object is
 184  
      *     {@link Boolean }
 185  
      *
 186  
      */
 187  
     @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 188  
     public void setSendOnSuccess(Boolean value) {
 189  0
         this.sendOnSuccess = value;
 190  0
     }
 191  
 
 192  
     /**
 193  
      * Gets the value of the sendOnWarning property.
 194  
      *
 195  
      * @return
 196  
      *     possible object is
 197  
      *     {@link Boolean }
 198  
      *
 199  
      */
 200  
     @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 201  
     public Boolean isSendOnWarning() {
 202  0
         return sendOnWarning;
 203  
     }
 204  
 
 205  
     /**
 206  
      * Sets the value of the sendOnWarning property.
 207  
      *
 208  
      * @param value
 209  
      *     allowed object is
 210  
      *     {@link Boolean }
 211  
      *
 212  
      */
 213  
     @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 214  
     public void setSendOnWarning(Boolean value) {
 215  0
         this.sendOnWarning = value;
 216  0
     }
 217  
 
 218  
     /**
 219  
      * Gets the value of the address property.
 220  
      *
 221  
      * @return
 222  
      *     possible object is
 223  
      *     {@link String }
 224  
      *
 225  
      */
 226  
     @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 227  
     public String getAddress() {
 228  0
         return address;
 229  
     }
 230  
 
 231  
     /**
 232  
      * Sets the value of the address property.
 233  
      *
 234  
      * @param value
 235  
      *     allowed object is
 236  
      *     {@link String }
 237  
      *
 238  
      */
 239  
     @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 240  
     public void setAddress(String value) {
 241  0
         this.address = value;
 242  0
     }
 243  
 
 244  
     /**
 245  
      * Gets the value of the configuration property.
 246  
      *
 247  
      * @return
 248  
      *     possible object is
 249  
      *     {@link Notifier.Configuration }
 250  
      *
 251  
      */
 252  
     @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 253  
     public Notifier.Configuration getConfiguration() {
 254  0
         return configuration;
 255  
     }
 256  
 
 257  
     /**
 258  
      * Sets the value of the configuration property.
 259  
      *
 260  
      * @param value
 261  
      *     allowed object is
 262  
      *     {@link Notifier.Configuration }
 263  
      *
 264  
      */
 265  
     @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 266  
     public void setConfiguration(Notifier.Configuration value) {
 267  0
         this.configuration = value;
 268  0
     }
 269  
 
 270  
 
 271  
     /**
 272  
      * <p>Java class for anonymous complex type.
 273  
      *
 274  
      * <p>The following schema fragment specifies the expected content contained within this class.
 275  
      *
 276  
      * <pre>
 277  
      * &lt;complexType>
 278  
      *   &lt;complexContent>
 279  
      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 280  
      *       &lt;sequence>
 281  
      *         &lt;any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
 282  
      *       &lt;/sequence>
 283  
      *     &lt;/restriction>
 284  
      *   &lt;/complexContent>
 285  
      * &lt;/complexType>
 286  
      * </pre>
 287  
      *
 288  
      *
 289  
      */
 290  0
     @XmlAccessorType(XmlAccessType.FIELD)
 291  
     @XmlType(name = "", propOrder = {
 292  
         "any"
 293  
     })
 294  
     @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 295  0
     public static class Configuration {
 296  
 
 297  
         @XmlAnyElement
 298  
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 299  
         protected List<Element> any;
 300  
 
 301  
         /**
 302  
          * Gets the value of the any property.
 303  
          *
 304  
          * <p>
 305  
          * This accessor method returns a reference to the live list,
 306  
          * not a snapshot. Therefore any modification you make to the
 307  
          * returned list will be present inside the JAXB object.
 308  
          * This is why there is not a <CODE>set</CODE> method for the any property.
 309  
          *
 310  
          * <p>
 311  
          * For example, to add a new item, do as follows:
 312  
          * <pre>
 313  
          *    getAny().add(newItem);
 314  
          * </pre>
 315  
          *
 316  
          *
 317  
          * <p>
 318  
          * Objects of the following type(s) are allowed in the list
 319  
          * {@link Element }
 320  
          *
 321  
          *
 322  
          */
 323  
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
 324  
         public List<Element> getAny() {
 325  0
             if (any == null) {
 326  0
                 any = new ArrayList<Element>();
 327  
             }
 328  0
             return this.any;
 329  
         }
 330  
 
 331  
     }
 332  
 
 333  
 }