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 ReleaseListenerSummary.
29   * 
30   * @version $Revision$ $Date$
31   */
32  @SuppressWarnings( "all" )
33  public class ReleaseListenerSummary
34      implements java.io.Serializable
35  {
36  
37        //--------------------------/
38       //- Class/Member Variables -/
39      //--------------------------/
40  
41      /**
42       * Field phases.
43       */
44      private java.util.List<String> phases;
45  
46      /**
47       * Field completedPhases.
48       */
49      private java.util.List<String> completedPhases;
50  
51      /**
52       * Field inProgress.
53       */
54      private String inProgress;
55  
56      /**
57       * Field state.
58       */
59      private int state = 0;
60  
61      /**
62       * Field error.
63       */
64      private String error;
65  
66      /**
67       * Field username.
68       */
69      private String username;
70  
71  
72        //-----------/
73       //- Methods -/
74      //-----------/
75  
76      /**
77       * Method addCompletedPhase.
78       * 
79       * @param string
80       */
81      public void addCompletedPhase( String string )
82      {
83          getCompletedPhases().add( string );
84      } //-- void addCompletedPhase( String )
85  
86      /**
87       * Method addPhase.
88       * 
89       * @param string
90       */
91      public void addPhase( String string )
92      {
93          getPhases().add( string );
94      } //-- void addPhase( String )
95  
96      /**
97       * Method getCompletedPhases.
98       * 
99       * @return List
100      */
101     public java.util.List<String> getCompletedPhases()
102     {
103         if ( this.completedPhases == null )
104         {
105             this.completedPhases = new java.util.ArrayList<String>();
106         }
107 
108         return this.completedPhases;
109     } //-- java.util.List<String> getCompletedPhases()
110 
111     /**
112      * Get the error field.
113      * 
114      * @return String
115      */
116     public String getError()
117     {
118         return this.error;
119     } //-- String getError()
120 
121     /**
122      * Get the inProgress field.
123      * 
124      * @return String
125      */
126     public String getInProgress()
127     {
128         return this.inProgress;
129     } //-- String getInProgress()
130 
131     /**
132      * Method getPhases.
133      * 
134      * @return List
135      */
136     public java.util.List<String> getPhases()
137     {
138         if ( this.phases == null )
139         {
140             this.phases = new java.util.ArrayList<String>();
141         }
142 
143         return this.phases;
144     } //-- java.util.List<String> getPhases()
145 
146     /**
147      * Get the state field.
148      * 
149      * @return int
150      */
151     public int getState()
152     {
153         return this.state;
154     } //-- int getState()
155 
156     /**
157      * Get the username field.
158      * 
159      * @return String
160      */
161     public String getUsername()
162     {
163         return this.username;
164     } //-- String getUsername()
165 
166     /**
167      * Method removeCompletedPhase.
168      * 
169      * @param string
170      */
171     public void removeCompletedPhase( String string )
172     {
173         getCompletedPhases().remove( string );
174     } //-- void removeCompletedPhase( String )
175 
176     /**
177      * Method removePhase.
178      * 
179      * @param string
180      */
181     public void removePhase( String string )
182     {
183         getPhases().remove( string );
184     } //-- void removePhase( String )
185 
186     /**
187      * Set the completedPhases field.
188      * 
189      * @param completedPhases
190      */
191     public void setCompletedPhases( java.util.List<String> completedPhases )
192     {
193         this.completedPhases = completedPhases;
194     } //-- void setCompletedPhases( java.util.List )
195 
196     /**
197      * Set the error field.
198      * 
199      * @param error
200      */
201     public void setError( String error )
202     {
203         this.error = error;
204     } //-- void setError( String )
205 
206     /**
207      * Set the inProgress field.
208      * 
209      * @param inProgress
210      */
211     public void setInProgress( String inProgress )
212     {
213         this.inProgress = inProgress;
214     } //-- void setInProgress( String )
215 
216     /**
217      * Set the phases field.
218      * 
219      * @param phases
220      */
221     public void setPhases( java.util.List<String> phases )
222     {
223         this.phases = phases;
224     } //-- void setPhases( java.util.List )
225 
226     /**
227      * Set the state field.
228      * 
229      * @param state
230      */
231     public void setState( int state )
232     {
233         this.state = state;
234     } //-- void setState( int )
235 
236     /**
237      * Set the username field.
238      * 
239      * @param username
240      */
241     public void setUsername( String username )
242     {
243         this.username = username;
244     } //-- void setUsername( String )
245 
246 }