1 // =================== DO NOT EDIT THIS FILE ====================
2 // Generated by Modello 2.1.2,
3 // any modifications will be overwritten.
4 // ==============================================================
5
6 package org.apache.maven.buildcache.xml.config;
7
8 /**
9 * Class GoalReconciliation.
10 *
11 * @version $Revision$ $Date$
12 */
13 @SuppressWarnings( "all" )
14 public class GoalReconciliation
15 extends GoalId
16 implements java.io.Serializable
17 {
18
19 //--------------------------/
20 //- Class/Member Variables -/
21 //--------------------------/
22
23 /**
24 * Field reconciles.
25 */
26 private java.util.List<TrackedProperty> reconciles;
27
28 /**
29 * Field logs.
30 */
31 private java.util.List<PropertyName> logs;
32
33 /**
34 * Field nologs.
35 */
36 private java.util.List<PropertyName> nologs;
37
38 /**
39 * Controls if all plugin properties to be logged (true is
40 * default). All the properties logged
41 * with respect to log/nolog children:
42 * * true: logged all if no blacklists
43 * (<nolog/>) and whitelists (<log/>) specified on
44 * plugin
45 * level
46 * * false: logged only tracked and
47 * included by whitelists (<log/>) on plugin level
48 * .
49 */
50 private boolean logAll = true;
51
52
53 //-----------/
54 //- Methods -/
55 //-----------/
56
57 /**
58 * Method addLog.
59 *
60 * @param propertyName a propertyName object.
61 */
62 public void addLog( PropertyName propertyName )
63 {
64 getLogs().add( propertyName );
65 } //-- void addLog( PropertyName )
66
67 /**
68 * Method addNolog.
69 *
70 * @param propertyName a propertyName object.
71 */
72 public void addNolog( PropertyName propertyName )
73 {
74 getNologs().add( propertyName );
75 } //-- void addNolog( PropertyName )
76
77 /**
78 * Method addReconcile.
79 *
80 * @param trackedProperty a trackedProperty object.
81 */
82 public void addReconcile( TrackedProperty trackedProperty )
83 {
84 getReconciles().add( trackedProperty );
85 } //-- void addReconcile( TrackedProperty )
86
87 /**
88 * Method getLogs.
89 *
90 * @return List
91 */
92 public java.util.List<PropertyName> getLogs()
93 {
94 if ( this.logs == null )
95 {
96 this.logs = new java.util.ArrayList<PropertyName>();
97 }
98
99 return this.logs;
100 } //-- java.util.List<PropertyName> getLogs()
101
102 /**
103 * Method getNologs.
104 *
105 * @return List
106 */
107 public java.util.List<PropertyName> getNologs()
108 {
109 if ( this.nologs == null )
110 {
111 this.nologs = new java.util.ArrayList<PropertyName>();
112 }
113
114 return this.nologs;
115 } //-- java.util.List<PropertyName> getNologs()
116
117 /**
118 * Method getReconciles.
119 *
120 * @return List
121 */
122 public java.util.List<TrackedProperty> getReconciles()
123 {
124 if ( this.reconciles == null )
125 {
126 this.reconciles = new java.util.ArrayList<TrackedProperty>();
127 }
128
129 return this.reconciles;
130 } //-- java.util.List<TrackedProperty> getReconciles()
131
132 /**
133 * Get controls if all plugin properties to be logged (true is
134 * default). All the properties logged
135 * with respect to log/nolog children:
136 * * true: logged all if no blacklists
137 * (<nolog/>) and whitelists (<log/>) specified on
138 * plugin
139 * level
140 * * false: logged only tracked and
141 * included by whitelists (<log/>) on plugin level.
142 *
143 * @return boolean
144 */
145 public boolean isLogAll()
146 {
147 return this.logAll;
148 } //-- boolean isLogAll()
149
150 /**
151 * Method removeLog.
152 *
153 * @param propertyName a propertyName object.
154 */
155 public void removeLog( PropertyName propertyName )
156 {
157 getLogs().remove( propertyName );
158 } //-- void removeLog( PropertyName )
159
160 /**
161 * Method removeNolog.
162 *
163 * @param propertyName a propertyName object.
164 */
165 public void removeNolog( PropertyName propertyName )
166 {
167 getNologs().remove( propertyName );
168 } //-- void removeNolog( PropertyName )
169
170 /**
171 * Method removeReconcile.
172 *
173 * @param trackedProperty a trackedProperty object.
174 */
175 public void removeReconcile( TrackedProperty trackedProperty )
176 {
177 getReconciles().remove( trackedProperty );
178 } //-- void removeReconcile( TrackedProperty )
179
180 /**
181 * Set controls if all plugin properties to be logged (true is
182 * default). All the properties logged
183 * with respect to log/nolog children:
184 * * true: logged all if no blacklists
185 * (<nolog/>) and whitelists (<log/>) specified on
186 * plugin
187 * level
188 * * false: logged only tracked and
189 * included by whitelists (<log/>) on plugin level.
190 *
191 * @param logAll a logAll object.
192 */
193 public void setLogAll( boolean logAll )
194 {
195 this.logAll = logAll;
196 } //-- void setLogAll( boolean )
197
198 /**
199 * Set specify property which should be logged to build
200 * metadata for exploration.
201 *
202 * @param logs a logs object.
203 */
204 public void setLogs( java.util.List<PropertyName> logs )
205 {
206 this.logs = logs;
207 } //-- void setLogs( java.util.List )
208
209 /**
210 * Set specify property which should not be logged.
211 *
212 * @param nologs a nologs object.
213 */
214 public void setNologs( java.util.List<PropertyName> nologs )
215 {
216 this.nologs = nologs;
217 } //-- void setNologs( java.util.List )
218
219 /**
220 * Set the reconciles field.
221 *
222 * @param reconciles a reconciles object.
223 */
224 public void setReconciles( java.util.List<TrackedProperty> reconciles )
225 {
226 this.reconciles = reconciles;
227 } //-- void setReconciles( java.util.List )
228
229 }