View Javadoc

1   /*
2    =================== DO NOT EDIT THIS FILE ====================
3    Generated by Modello
4    any modifications will be overwritten.
5    ==============================================================
6    */
7   
8   package org.apache.maven.continuum.web.model;
9   
10  /**
11   * Class BuildDefinitionSummary.
12   * 
13   * @version $Revision$ $Date$
14   */
15  @SuppressWarnings( "all" )
16  public class BuildDefinitionSummary
17      implements java.io.Serializable
18  {
19  
20        //--------------------------/
21       //- Class/Member Variables -/
22      //--------------------------/
23  
24      /**
25       * id of the build definition.
26       */
27      private int id = 0;
28  
29      /**
30       * project id of the project containing the build definition.
31       */
32      private int projectId = 0;
33  
34      /**
35       * project group id of the project group with the build
36       * definition.
37       */
38      private int projectGroupId = 0;
39  
40      /**
41       * goals for build definition.
42       */
43      private String goals;
44  
45      /**
46       * arguments for build definition.
47       */
48      private String arguments;
49  
50      /**
51       * goals for build definition.
52       */
53      private String buildFile;
54  
55      /**
56       * if the build is to be smoked and checked back out from the
57       * scm each build.
58       */
59      private boolean isBuildFresh = false;
60  
61      /**
62       * if the build definition is used in default cases.
63       */
64      private boolean isDefault = false;
65  
66      /**
67       * id of the schedule for build definition.
68       */
69      private int scheduleId = 0;
70  
71      /**
72       * name of the schedule for build definition.
73       */
74      private String scheduleName;
75  
76      /**
77       * source of build definition, project or project group lvl.
78       */
79      private String from;
80  
81      /**
82       * name of the profile for the build definition.
83       */
84      private String profileName;
85  
86      /**
87       * if project lvl, then the name of the project using the
88       * definition.
89       */
90      private String projectName;
91  
92      /**
93       * id of the profile for build definition.
94       */
95      private int profileId = 0;
96  
97      /**
98       * description of the buid defintion.
99       */
100     private String description;
101 
102     /**
103      * type of the buid defintion.
104      */
105     private String type;
106 
107     /**
108      * true if the build had to be forced even if there is no scm
109      * change.
110      */
111     private boolean alwaysBuild = false;
112 
113 
114       //-----------/
115      //- Methods -/
116     //-----------/
117 
118     /**
119      * Get arguments for build definition.
120      * 
121      * @return String
122      */
123     public String getArguments()
124     {
125         return this.arguments;
126     } //-- String getArguments()
127 
128     /**
129      * Get goals for build definition.
130      * 
131      * @return String
132      */
133     public String getBuildFile()
134     {
135         return this.buildFile;
136     } //-- String getBuildFile()
137 
138     /**
139      * Get description of the buid defintion.
140      * 
141      * @return String
142      */
143     public String getDescription()
144     {
145         return this.description;
146     } //-- String getDescription()
147 
148     /**
149      * Get source of build definition, project or project group
150      * lvl.
151      * 
152      * @return String
153      */
154     public String getFrom()
155     {
156         return this.from;
157     } //-- String getFrom()
158 
159     /**
160      * Get goals for build definition.
161      * 
162      * @return String
163      */
164     public String getGoals()
165     {
166         return this.goals;
167     } //-- String getGoals()
168 
169     /**
170      * Get id of the build definition.
171      * 
172      * @return int
173      */
174     public int getId()
175     {
176         return this.id;
177     } //-- int getId()
178 
179     /**
180      * Get id of the profile for build definition.
181      * 
182      * @return int
183      */
184     public int getProfileId()
185     {
186         return this.profileId;
187     } //-- int getProfileId()
188 
189     /**
190      * Get name of the profile for the build definition.
191      * 
192      * @return String
193      */
194     public String getProfileName()
195     {
196         return this.profileName;
197     } //-- String getProfileName()
198 
199     /**
200      * Get project group id of the project group with the build
201      * definition.
202      * 
203      * @return int
204      */
205     public int getProjectGroupId()
206     {
207         return this.projectGroupId;
208     } //-- int getProjectGroupId()
209 
210     /**
211      * Get project id of the project containing the build
212      * definition.
213      * 
214      * @return int
215      */
216     public int getProjectId()
217     {
218         return this.projectId;
219     } //-- int getProjectId()
220 
221     /**
222      * Get if project lvl, then the name of the project using the
223      * definition.
224      * 
225      * @return String
226      */
227     public String getProjectName()
228     {
229         return this.projectName;
230     } //-- String getProjectName()
231 
232     /**
233      * Get id of the schedule for build definition.
234      * 
235      * @return int
236      */
237     public int getScheduleId()
238     {
239         return this.scheduleId;
240     } //-- int getScheduleId()
241 
242     /**
243      * Get name of the schedule for build definition.
244      * 
245      * @return String
246      */
247     public String getScheduleName()
248     {
249         return this.scheduleName;
250     } //-- String getScheduleName()
251 
252     /**
253      * Get type of the buid defintion.
254      * 
255      * @return String
256      */
257     public String getType()
258     {
259         return this.type;
260     } //-- String getType()
261 
262     /**
263      * Get true if the build had to be forced even if there is no
264      * scm change.
265      * 
266      * @return boolean
267      */
268     public boolean isAlwaysBuild()
269     {
270         return this.alwaysBuild;
271     } //-- boolean isAlwaysBuild()
272 
273     /**
274      * Get if the build is to be smoked and checked back out from
275      * the scm each build.
276      * 
277      * @return boolean
278      */
279     public boolean isIsBuildFresh()
280     {
281         return this.isBuildFresh;
282     } //-- boolean isIsBuildFresh()
283 
284     /**
285      * Get if the build definition is used in default cases.
286      * 
287      * @return boolean
288      */
289     public boolean isIsDefault()
290     {
291         return this.isDefault;
292     } //-- boolean isIsDefault()
293 
294     /**
295      * Set true if the build had to be forced even if there is no
296      * scm change.
297      * 
298      * @param alwaysBuild
299      */
300     public void setAlwaysBuild( boolean alwaysBuild )
301     {
302         this.alwaysBuild = alwaysBuild;
303     } //-- void setAlwaysBuild( boolean )
304 
305     /**
306      * Set arguments for build definition.
307      * 
308      * @param arguments
309      */
310     public void setArguments( String arguments )
311     {
312         this.arguments = arguments;
313     } //-- void setArguments( String )
314 
315     /**
316      * Set goals for build definition.
317      * 
318      * @param buildFile
319      */
320     public void setBuildFile( String buildFile )
321     {
322         this.buildFile = buildFile;
323     } //-- void setBuildFile( String )
324 
325     /**
326      * Set description of the buid defintion.
327      * 
328      * @param description
329      */
330     public void setDescription( String description )
331     {
332         this.description = description;
333     } //-- void setDescription( String )
334 
335     /**
336      * Set source of build definition, project or project group
337      * lvl.
338      * 
339      * @param from
340      */
341     public void setFrom( String from )
342     {
343         this.from = from;
344     } //-- void setFrom( String )
345 
346     /**
347      * Set goals for build definition.
348      * 
349      * @param goals
350      */
351     public void setGoals( String goals )
352     {
353         this.goals = goals;
354     } //-- void setGoals( String )
355 
356     /**
357      * Set id of the build definition.
358      * 
359      * @param id
360      */
361     public void setId( int id )
362     {
363         this.id = id;
364     } //-- void setId( int )
365 
366     /**
367      * Set if the build is to be smoked and checked back out from
368      * the scm each build.
369      * 
370      * @param isBuildFresh
371      */
372     public void setIsBuildFresh( boolean isBuildFresh )
373     {
374         this.isBuildFresh = isBuildFresh;
375     } //-- void setIsBuildFresh( boolean )
376 
377     /**
378      * Set if the build definition is used in default cases.
379      * 
380      * @param isDefault
381      */
382     public void setIsDefault( boolean isDefault )
383     {
384         this.isDefault = isDefault;
385     } //-- void setIsDefault( boolean )
386 
387     /**
388      * Set id of the profile for build definition.
389      * 
390      * @param profileId
391      */
392     public void setProfileId( int profileId )
393     {
394         this.profileId = profileId;
395     } //-- void setProfileId( int )
396 
397     /**
398      * Set name of the profile for the build definition.
399      * 
400      * @param profileName
401      */
402     public void setProfileName( String profileName )
403     {
404         this.profileName = profileName;
405     } //-- void setProfileName( String )
406 
407     /**
408      * Set project group id of the project group with the build
409      * definition.
410      * 
411      * @param projectGroupId
412      */
413     public void setProjectGroupId( int projectGroupId )
414     {
415         this.projectGroupId = projectGroupId;
416     } //-- void setProjectGroupId( int )
417 
418     /**
419      * Set project id of the project containing the build
420      * definition.
421      * 
422      * @param projectId
423      */
424     public void setProjectId( int projectId )
425     {
426         this.projectId = projectId;
427     } //-- void setProjectId( int )
428 
429     /**
430      * Set if project lvl, then the name of the project using the
431      * definition.
432      * 
433      * @param projectName
434      */
435     public void setProjectName( String projectName )
436     {
437         this.projectName = projectName;
438     } //-- void setProjectName( String )
439 
440     /**
441      * Set id of the schedule for build definition.
442      * 
443      * @param scheduleId
444      */
445     public void setScheduleId( int scheduleId )
446     {
447         this.scheduleId = scheduleId;
448     } //-- void setScheduleId( int )
449 
450     /**
451      * Set name of the schedule for build definition.
452      * 
453      * @param scheduleName
454      */
455     public void setScheduleName( String scheduleName )
456     {
457         this.scheduleName = scheduleName;
458     } //-- void setScheduleName( String )
459 
460     /**
461      * Set type of the buid defintion.
462      * 
463      * @param type
464      */
465     public void setType( String type )
466     {
467         this.type = type;
468     } //-- void setType( String )
469 
470 }