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 Executables.
10 *
11 * @version $Revision$ $Date$
12 */
13 @SuppressWarnings( "all" )
14 public class Executables
15 implements java.io.Serializable
16 {
17
18 //--------------------------/
19 //- Class/Member Variables -/
20 //--------------------------/
21
22 /**
23 * Field plugins.
24 */
25 private java.util.List<PluginSet> plugins;
26
27 /**
28 * Field executions.
29 */
30 private java.util.List<ExecutionIdsList> executions;
31
32 /**
33 * Field goalsLists.
34 */
35 private java.util.List<GoalsList> goalsLists;
36
37
38 //-----------/
39 //- Methods -/
40 //-----------/
41
42 /**
43 * Method addExecution.
44 *
45 * @param executionIdsList a executionIdsList object.
46 */
47 public void addExecution( ExecutionIdsList executionIdsList )
48 {
49 getExecutions().add( executionIdsList );
50 } //-- void addExecution( ExecutionIdsList )
51
52 /**
53 * Method addGoalsList.
54 *
55 * @param goalsList a goalsList object.
56 */
57 public void addGoalsList( GoalsList goalsList )
58 {
59 getGoalsLists().add( goalsList );
60 } //-- void addGoalsList( GoalsList )
61
62 /**
63 * Method addPlugin.
64 *
65 * @param pluginSet a pluginSet object.
66 */
67 public void addPlugin( PluginSet pluginSet )
68 {
69 getPlugins().add( pluginSet );
70 } //-- void addPlugin( PluginSet )
71
72 /**
73 * Method getExecutions.
74 *
75 * @return List
76 */
77 public java.util.List<ExecutionIdsList> getExecutions()
78 {
79 if ( this.executions == null )
80 {
81 this.executions = new java.util.ArrayList<ExecutionIdsList>();
82 }
83
84 return this.executions;
85 } //-- java.util.List<ExecutionIdsList> getExecutions()
86
87 /**
88 * Method getGoalsLists.
89 *
90 * @return List
91 */
92 public java.util.List<GoalsList> getGoalsLists()
93 {
94 if ( this.goalsLists == null )
95 {
96 this.goalsLists = new java.util.ArrayList<GoalsList>();
97 }
98
99 return this.goalsLists;
100 } //-- java.util.List<GoalsList> getGoalsLists()
101
102 /**
103 * Method getPlugins.
104 *
105 * @return List
106 */
107 public java.util.List<PluginSet> getPlugins()
108 {
109 if ( this.plugins == null )
110 {
111 this.plugins = new java.util.ArrayList<PluginSet>();
112 }
113
114 return this.plugins;
115 } //-- java.util.List<PluginSet> getPlugins()
116
117 /**
118 * Method removeExecution.
119 *
120 * @param executionIdsList a executionIdsList object.
121 */
122 public void removeExecution( ExecutionIdsList executionIdsList )
123 {
124 getExecutions().remove( executionIdsList );
125 } //-- void removeExecution( ExecutionIdsList )
126
127 /**
128 * Method removeGoalsList.
129 *
130 * @param goalsList a goalsList object.
131 */
132 public void removeGoalsList( GoalsList goalsList )
133 {
134 getGoalsLists().remove( goalsList );
135 } //-- void removeGoalsList( GoalsList )
136
137 /**
138 * Method removePlugin.
139 *
140 * @param pluginSet a pluginSet object.
141 */
142 public void removePlugin( PluginSet pluginSet )
143 {
144 getPlugins().remove( pluginSet );
145 } //-- void removePlugin( PluginSet )
146
147 /**
148 * Set specify which executions should run always if present in
149 * build regardless of cached status.
150 *
151 * @param executions a executions object.
152 */
153 public void setExecutions( java.util.List<ExecutionIdsList> executions )
154 {
155 this.executions = executions;
156 } //-- void setExecutions( java.util.List )
157
158 /**
159 * Set specify which goals should run always if present in
160 * build regardless of cached status.
161 *
162 * @param goalsLists a goalsLists object.
163 */
164 public void setGoalsLists( java.util.List<GoalsList> goalsLists )
165 {
166 this.goalsLists = goalsLists;
167 } //-- void setGoalsLists( java.util.List )
168
169 /**
170 * Set specify which executions should run always if present in
171 * build regardless of cached status.
172 *
173 * @param plugins a plugins object.
174 */
175 public void setPlugins( java.util.List<PluginSet> plugins )
176 {
177 this.plugins = plugins;
178 } //-- void setPlugins( java.util.List )
179
180 }