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