View Javadoc

1   /*
2    =================== DO NOT EDIT THIS FILE ====================
3    Generated by Modello 1.1 on 2011-09-18 11:22:15,
4    any modifications will be overwritten.
5    ==============================================================
6    */
7   
8   package org.apache.maven.continuum.web.model;
9   
10  /**
11   * Class ReleaseListenerSummary.
12   * 
13   * @version $Revision$ $Date$
14   */
15  @SuppressWarnings( "all" )
16  public class ReleaseListenerSummary
17      implements java.io.Serializable
18  {
19  
20        //--------------------------/
21       //- Class/Member Variables -/
22      //--------------------------/
23  
24      /**
25       * Field phases.
26       */
27      private java.util.List<String> phases;
28  
29      /**
30       * Field completedPhases.
31       */
32      private java.util.List<String> completedPhases;
33  
34      /**
35       * Release phase in progress.
36       */
37      private String inProgress;
38  
39      /**
40       * Field error.
41       */
42      private String error;
43  
44  
45        //-----------/
46       //- Methods -/
47      //-----------/
48  
49      /**
50       * Method addCompletedPhase.
51       * 
52       * @param string
53       */
54      public void addCompletedPhase( String string )
55      {
56          getCompletedPhases().add( string );
57      } //-- void addCompletedPhase( String )
58  
59      /**
60       * Method addPhase.
61       * 
62       * @param string
63       */
64      public void addPhase( String string )
65      {
66          getPhases().add( string );
67      } //-- void addPhase( String )
68  
69      /**
70       * Method getCompletedPhases.
71       * 
72       * @return List
73       */
74      public java.util.List<String> getCompletedPhases()
75      {
76          if ( this.completedPhases == null )
77          {
78              this.completedPhases = new java.util.ArrayList<String>();
79          }
80  
81          return this.completedPhases;
82      } //-- java.util.List<String> getCompletedPhases()
83  
84      /**
85       * Get the error field.
86       * 
87       * @return String
88       */
89      public String getError()
90      {
91          return this.error;
92      } //-- String getError()
93  
94      /**
95       * Get release phase in progress.
96       * 
97       * @return String
98       */
99      public String getInProgress()
100     {
101         return this.inProgress;
102     } //-- String getInProgress()
103 
104     /**
105      * Method getPhases.
106      * 
107      * @return List
108      */
109     public java.util.List<String> getPhases()
110     {
111         if ( this.phases == null )
112         {
113             this.phases = new java.util.ArrayList<String>();
114         }
115 
116         return this.phases;
117     } //-- java.util.List<String> getPhases()
118 
119     /**
120      * Method removeCompletedPhase.
121      * 
122      * @param string
123      */
124     public void removeCompletedPhase( String string )
125     {
126         getCompletedPhases().remove( string );
127     } //-- void removeCompletedPhase( String )
128 
129     /**
130      * Method removePhase.
131      * 
132      * @param string
133      */
134     public void removePhase( String string )
135     {
136         getPhases().remove( string );
137     } //-- void removePhase( String )
138 
139     /**
140      * Set completed release phases.
141      * 
142      * @param completedPhases
143      */
144     public void setCompletedPhases( java.util.List<String> completedPhases )
145     {
146         this.completedPhases = completedPhases;
147     } //-- void setCompletedPhases( java.util.List )
148 
149     /**
150      * Set the error field.
151      * 
152      * @param error
153      */
154     public void setError( String error )
155     {
156         this.error = error;
157     } //-- void setError( String )
158 
159     /**
160      * Set release phase in progress.
161      * 
162      * @param inProgress
163      */
164     public void setInProgress( String inProgress )
165     {
166         this.inProgress = inProgress;
167     } //-- void setInProgress( String )
168 
169     /**
170      * Set release Phases.
171      * 
172      * @param phases
173      */
174     public void setPhases( java.util.List<String> phases )
175     {
176         this.phases = phases;
177     } //-- void setPhases( java.util.List )
178 
179 }