| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| PluginManagement |
|
| 1.3333333333333333;1.333 | ||||
| PluginManagement$Plugins |
|
| 1.3333333333333333;1.333 |
| 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.XmlType; | |
| 17 | ||
| 18 | ||
| 19 | /** | |
| 20 | * | |
| 21 | * Section for management of default plugin information for use in a group of POMs. | |
| 22 | * | |
| 23 | * | |
| 24 | * <p>Java class for PluginManagement complex type. | |
| 25 | * | |
| 26 | * <p>The following schema fragment specifies the expected content contained within this class. | |
| 27 | * | |
| 28 | * <pre> | |
| 29 | * <complexType name="PluginManagement"> | |
| 30 | * <complexContent> | |
| 31 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
| 32 | * <all> | |
| 33 | * <element name="plugins" minOccurs="0"> | |
| 34 | * <complexType> | |
| 35 | * <complexContent> | |
| 36 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
| 37 | * <sequence> | |
| 38 | * <element name="plugin" type="{http://maven.apache.org/POM/4.0.0}Plugin" maxOccurs="unbounded" minOccurs="0"/> | |
| 39 | * </sequence> | |
| 40 | * </restriction> | |
| 41 | * </complexContent> | |
| 42 | * </complexType> | |
| 43 | * </element> | |
| 44 | * </all> | |
| 45 | * </restriction> | |
| 46 | * </complexContent> | |
| 47 | * </complexType> | |
| 48 | * </pre> | |
| 49 | * | |
| 50 | * | |
| 51 | */ | |
| 52 | @XmlAccessorType(XmlAccessType.FIELD) | |
| 53 | @XmlType(name = "PluginManagement", propOrder = { | |
| 54 | ||
| 55 | }) | |
| 56 | @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") | |
| 57 | 0 | public class PluginManagement { |
| 58 | ||
| 59 | @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") | |
| 60 | protected PluginManagement.Plugins plugins; | |
| 61 | ||
| 62 | /** | |
| 63 | * Gets the value of the plugins property. | |
| 64 | * | |
| 65 | * @return | |
| 66 | * possible object is | |
| 67 | * {@link PluginManagement.Plugins } | |
| 68 | * | |
| 69 | */ | |
| 70 | @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") | |
| 71 | public PluginManagement.Plugins getPlugins() { | |
| 72 | 0 | return plugins; |
| 73 | } | |
| 74 | ||
| 75 | /** | |
| 76 | * Sets the value of the plugins property. | |
| 77 | * | |
| 78 | * @param value | |
| 79 | * allowed object is | |
| 80 | * {@link PluginManagement.Plugins } | |
| 81 | * | |
| 82 | */ | |
| 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 | public void setPlugins(PluginManagement.Plugins value) { | |
| 85 | 0 | this.plugins = value; |
| 86 | 0 | } |
| 87 | ||
| 88 | ||
| 89 | /** | |
| 90 | * <p>Java class for anonymous complex type. | |
| 91 | * | |
| 92 | * <p>The following schema fragment specifies the expected content contained within this class. | |
| 93 | * | |
| 94 | * <pre> | |
| 95 | * <complexType> | |
| 96 | * <complexContent> | |
| 97 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
| 98 | * <sequence> | |
| 99 | * <element name="plugin" type="{http://maven.apache.org/POM/4.0.0}Plugin" maxOccurs="unbounded" minOccurs="0"/> | |
| 100 | * </sequence> | |
| 101 | * </restriction> | |
| 102 | * </complexContent> | |
| 103 | * </complexType> | |
| 104 | * </pre> | |
| 105 | * | |
| 106 | * | |
| 107 | */ | |
| 108 | 0 | @XmlAccessorType(XmlAccessType.FIELD) |
| 109 | @XmlType(name = "", propOrder = { | |
| 110 | "plugin" | |
| 111 | }) | |
| 112 | @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") | |
| 113 | 0 | public static class Plugins { |
| 114 | ||
| 115 | @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") | |
| 116 | protected List<Plugin> plugin; | |
| 117 | ||
| 118 | /** | |
| 119 | * Gets the value of the plugin property. | |
| 120 | * | |
| 121 | * <p> | |
| 122 | * This accessor method returns a reference to the live list, | |
| 123 | * not a snapshot. Therefore any modification you make to the | |
| 124 | * returned list will be present inside the JAXB object. | |
| 125 | * This is why there is not a <CODE>set</CODE> method for the plugin property. | |
| 126 | * | |
| 127 | * <p> | |
| 128 | * For example, to add a new item, do as follows: | |
| 129 | * <pre> | |
| 130 | * getPlugin().add(newItem); | |
| 131 | * </pre> | |
| 132 | * | |
| 133 | * | |
| 134 | * <p> | |
| 135 | * Objects of the following type(s) are allowed in the list | |
| 136 | * {@link Plugin } | |
| 137 | * | |
| 138 | * | |
| 139 | */ | |
| 140 | @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") | |
| 141 | public List<Plugin> getPlugin() { | |
| 142 | 0 | if (plugin == null) { |
| 143 | 0 | plugin = new ArrayList<Plugin>(); |
| 144 | } | |
| 145 | 0 | return this.plugin; |
| 146 | } | |
| 147 | ||
| 148 | } | |
| 149 | ||
| 150 | } |