View Javadoc

1   /*
2    =================== DO NOT EDIT THIS FILE ====================
3    Generated by Modello 1.1 on 2011-09-18 11:22:14,
4    any modifications will be overwritten.
5    ==============================================================
6    */
7   
8   package org.apache.maven.continuum.xmlrpc.project;
9   
10    //---------------------------------/
11   //- Imported classes and packages -/
12  //---------------------------------/
13  
14  import org.apache.continuum.xmlrpc.release.ContinuumReleaseResult;
15  import org.apache.continuum.xmlrpc.repository.AbstractPurgeConfiguration;
16  import org.apache.continuum.xmlrpc.repository.DirectoryPurgeConfiguration;
17  import org.apache.continuum.xmlrpc.repository.LocalRepository;
18  import org.apache.continuum.xmlrpc.repository.RepositoryPurgeConfiguration;
19  import org.apache.maven.continuum.xmlrpc.scm.ChangeFile;
20  import org.apache.maven.continuum.xmlrpc.scm.ChangeSet;
21  import org.apache.maven.continuum.xmlrpc.scm.ScmResult;
22  import org.apache.maven.continuum.xmlrpc.system.Installation;
23  import org.apache.maven.continuum.xmlrpc.system.Profile;
24  import org.apache.maven.continuum.xmlrpc.system.SystemConfiguration;
25  
26  /**
27   * Class ProjectGroup.
28   * 
29   * @version $Revision$ $Date$
30   */
31  @SuppressWarnings( "all" )
32  public class ProjectGroup
33      extends ProjectGroupSummary
34      implements java.io.Serializable
35  {
36  
37        //--------------------------/
38       //- Class/Member Variables -/
39      //--------------------------/
40  
41      /**
42       * Field projects.
43       */
44      private java.util.List<ProjectSummary> projects;
45  
46      /**
47       * Field notifiers.
48       */
49      private java.util.List<ProjectNotifier> notifiers;
50  
51      /**
52       * Field buildDefinitions.
53       */
54      private java.util.List<BuildDefinition> buildDefinitions;
55  
56  
57        //-----------/
58       //- Methods -/
59      //-----------/
60  
61      /**
62       * Method addBuildDefinition.
63       * 
64       * @param buildDefinition
65       */
66      public void addBuildDefinition( BuildDefinition buildDefinition )
67      {
68          getBuildDefinitions().add( buildDefinition );
69      } //-- void addBuildDefinition( BuildDefinition )
70  
71      /**
72       * Method addNotifier.
73       * 
74       * @param projectNotifier
75       */
76      public void addNotifier( ProjectNotifier projectNotifier )
77      {
78          getNotifiers().add( projectNotifier );
79      } //-- void addNotifier( ProjectNotifier )
80  
81      /**
82       * Method addProject.
83       * 
84       * @param projectSummary
85       */
86      public void addProject( ProjectSummary projectSummary )
87      {
88          getProjects().add( projectSummary );
89      } //-- void addProject( ProjectSummary )
90  
91      /**
92       * Method getBuildDefinitions.
93       * 
94       * @return List
95       */
96      public java.util.List<BuildDefinition> getBuildDefinitions()
97      {
98          if ( this.buildDefinitions == null )
99          {
100             this.buildDefinitions = new java.util.ArrayList<BuildDefinition>();
101         }
102 
103         return this.buildDefinitions;
104     } //-- java.util.List<BuildDefinition> getBuildDefinitions()
105 
106     /**
107      * Method getNotifiers.
108      * 
109      * @return List
110      */
111     public java.util.List<ProjectNotifier> getNotifiers()
112     {
113         if ( this.notifiers == null )
114         {
115             this.notifiers = new java.util.ArrayList<ProjectNotifier>();
116         }
117 
118         return this.notifiers;
119     } //-- java.util.List<ProjectNotifier> getNotifiers()
120 
121     /**
122      * Method getProjects.
123      * 
124      * @return List
125      */
126     public java.util.List<ProjectSummary> getProjects()
127     {
128         if ( this.projects == null )
129         {
130             this.projects = new java.util.ArrayList<ProjectSummary>();
131         }
132 
133         return this.projects;
134     } //-- java.util.List<ProjectSummary> getProjects()
135 
136     /**
137      * Method removeBuildDefinition.
138      * 
139      * @param buildDefinition
140      */
141     public void removeBuildDefinition( BuildDefinition buildDefinition )
142     {
143         getBuildDefinitions().remove( buildDefinition );
144     } //-- void removeBuildDefinition( BuildDefinition )
145 
146     /**
147      * Method removeNotifier.
148      * 
149      * @param projectNotifier
150      */
151     public void removeNotifier( ProjectNotifier projectNotifier )
152     {
153         getNotifiers().remove( projectNotifier );
154     } //-- void removeNotifier( ProjectNotifier )
155 
156     /**
157      * Method removeProject.
158      * 
159      * @param projectSummary
160      */
161     public void removeProject( ProjectSummary projectSummary )
162     {
163         getProjects().remove( projectSummary );
164     } //-- void removeProject( ProjectSummary )
165 
166     /**
167      * Set the buildDefinitions field.
168      * 
169      * @param buildDefinitions
170      */
171     public void setBuildDefinitions( java.util.List<BuildDefinition> buildDefinitions )
172     {
173         this.buildDefinitions = buildDefinitions;
174     } //-- void setBuildDefinitions( java.util.List )
175 
176     /**
177      * Set the notifiers field.
178      * 
179      * @param notifiers
180      */
181     public void setNotifiers( java.util.List<ProjectNotifier> notifiers )
182     {
183         this.notifiers = notifiers;
184     } //-- void setNotifiers( java.util.List )
185 
186     /**
187      * Set the projects field.
188      * 
189      * @param projects
190      */
191     public void setProjects( java.util.List<ProjectSummary> projects )
192     {
193         this.projects = projects;
194     } //-- void setProjects( java.util.List )
195 
196 }