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