View Javadoc
1   /*
2    Licensed to the Apache Software Foundation (ASF) under one
3    or more contributor license agreements.  See the NOTICE file
4    distributed with this work for additional information
5    regarding copyright ownership.  The ASF licenses this file
6    to you under the Apache License, Version 2.0 (the
7    "License"); you may not use this file except in compliance
8    with the License.  You may obtain a copy of the License at
9    
10       http://www.apache.org/licenses/LICENSE-2.0
11   
12   Unless required by applicable law or agreed to in writing,
13   software distributed under the License is distributed on an
14   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   KIND, either express or implied.  See the License for the
16   specific language governing permissions and limitations
17   under the License.
18   =================== DO NOT EDIT THIS FILE ====================
19   Generated by Modello 2.5.1,
20   any modifications will be overwritten.
21   ==============================================================
22   */
23  
24  package org.apache.maven.buildcache.xml.config;
25  
26  /**
27   * Class Executables.
28   * 
29   * @version $Revision$ $Date$
30   */
31  @SuppressWarnings( "all" )
32  public class Executables
33      implements java.io.Serializable
34  {
35  
36        //--------------------------/
37       //- Class/Member Variables -/
38      //--------------------------/
39  
40      /**
41       * Field plugins.
42       */
43      private java.util.List<PluginSet> plugins;
44  
45      /**
46       * Field executions.
47       */
48      private java.util.List<ExecutionIdsList> executions;
49  
50      /**
51       * Field goalsLists.
52       */
53      private java.util.List<GoalsList> goalsLists;
54  
55  
56        //-----------/
57       //- Methods -/
58      //-----------/
59  
60      /**
61       * Method addExecution.
62       * 
63       * @param executionIdsList a executionIdsList object.
64       */
65      public void addExecution( ExecutionIdsList executionIdsList )
66      {
67          getExecutions().add( executionIdsList );
68      } //-- void addExecution( ExecutionIdsList )
69  
70      /**
71       * Method addGoalsList.
72       * 
73       * @param goalsList a goalsList object.
74       */
75      public void addGoalsList( GoalsList goalsList )
76      {
77          getGoalsLists().add( goalsList );
78      } //-- void addGoalsList( GoalsList )
79  
80      /**
81       * Method addPlugin.
82       * 
83       * @param pluginSet a pluginSet object.
84       */
85      public void addPlugin( PluginSet pluginSet )
86      {
87          getPlugins().add( pluginSet );
88      } //-- void addPlugin( PluginSet )
89  
90      /**
91       * Method getExecutions.
92       * 
93       * @return List
94       */
95      public java.util.List<ExecutionIdsList> getExecutions()
96      {
97          if ( this.executions == null )
98          {
99              this.executions = new java.util.ArrayList<ExecutionIdsList>();
100         }
101 
102         return this.executions;
103     } //-- java.util.List<ExecutionIdsList> getExecutions()
104 
105     /**
106      * Method getGoalsLists.
107      * 
108      * @return List
109      */
110     public java.util.List<GoalsList> getGoalsLists()
111     {
112         if ( this.goalsLists == null )
113         {
114             this.goalsLists = new java.util.ArrayList<GoalsList>();
115         }
116 
117         return this.goalsLists;
118     } //-- java.util.List<GoalsList> getGoalsLists()
119 
120     /**
121      * Method getPlugins.
122      * 
123      * @return List
124      */
125     public java.util.List<PluginSet> getPlugins()
126     {
127         if ( this.plugins == null )
128         {
129             this.plugins = new java.util.ArrayList<PluginSet>();
130         }
131 
132         return this.plugins;
133     } //-- java.util.List<PluginSet> getPlugins()
134 
135     /**
136      * Method removeExecution.
137      * 
138      * @param executionIdsList a executionIdsList object.
139      */
140     public void removeExecution( ExecutionIdsList executionIdsList )
141     {
142         getExecutions().remove( executionIdsList );
143     } //-- void removeExecution( ExecutionIdsList )
144 
145     /**
146      * Method removeGoalsList.
147      * 
148      * @param goalsList a goalsList object.
149      */
150     public void removeGoalsList( GoalsList goalsList )
151     {
152         getGoalsLists().remove( goalsList );
153     } //-- void removeGoalsList( GoalsList )
154 
155     /**
156      * Method removePlugin.
157      * 
158      * @param pluginSet a pluginSet object.
159      */
160     public void removePlugin( PluginSet pluginSet )
161     {
162         getPlugins().remove( pluginSet );
163     } //-- void removePlugin( PluginSet )
164 
165     /**
166      * Set specify which executions should run always if present in
167      * build regardless of cached status.
168      * 
169      * @param executions a executions object.
170      */
171     public void setExecutions( java.util.List<ExecutionIdsList> executions )
172     {
173         this.executions = executions;
174     } //-- void setExecutions( java.util.List )
175 
176     /**
177      * Set specify which goals should run always if present in
178      * build regardless of cached status.
179      * 
180      * @param goalsLists a goalsLists object.
181      */
182     public void setGoalsLists( java.util.List<GoalsList> goalsLists )
183     {
184         this.goalsLists = goalsLists;
185     } //-- void setGoalsLists( java.util.List )
186 
187     /**
188      * Set specify which executions should run always if present in
189      * build regardless of cached status.
190      * 
191      * @param plugins a plugins object.
192      */
193     public void setPlugins( java.util.List<PluginSet> plugins )
194     {
195         this.plugins = plugins;
196     } //-- void setPlugins( java.util.List )
197 
198 }