View Javadoc

1   /*
2    =================== DO NOT EDIT THIS FILE ====================
3    Generated by Modello 1.1 on 2011-09-18 11:21:46,
4    any modifications will be overwritten.
5    ==============================================================
6    */
7   
8   package org.apache.maven.continuum.model.scm;
9   
10    //---------------------------------/
11   //- Imported classes and packages -/
12  //---------------------------------/
13  
14  import org.apache.continuum.model.project.ProjectScmRoot;
15  import org.apache.continuum.model.release.ContinuumReleaseResult;
16  import org.apache.continuum.model.repository.AbstractPurgeConfiguration;
17  import org.apache.continuum.model.repository.DirectoryPurgeConfiguration;
18  import org.apache.continuum.model.repository.LocalRepository;
19  import org.apache.continuum.model.repository.RepositoryPurgeConfiguration;
20  import org.apache.maven.continuum.model.project.BuildDefinition;
21  import org.apache.maven.continuum.model.project.BuildDefinitionTemplate;
22  import org.apache.maven.continuum.model.project.BuildQueue;
23  import org.apache.maven.continuum.model.project.BuildResult;
24  import org.apache.maven.continuum.model.project.ContinuumDatabase;
25  import org.apache.maven.continuum.model.project.Project;
26  import org.apache.maven.continuum.model.project.ProjectDependency;
27  import org.apache.maven.continuum.model.project.ProjectDeveloper;
28  import org.apache.maven.continuum.model.project.ProjectGroup;
29  import org.apache.maven.continuum.model.project.ProjectNotifier;
30  import org.apache.maven.continuum.model.project.Schedule;
31  import org.apache.maven.continuum.model.system.Installation;
32  import org.apache.maven.continuum.model.system.NotificationAddress;
33  import org.apache.maven.continuum.model.system.Profile;
34  import org.apache.maven.continuum.model.system.SystemConfiguration;
35  import org.apache.maven.continuum.project.ContinuumProjectState;
36  
37  /**
38   * Class ScmResult.
39   * 
40   * @version $Revision$ $Date$
41   */
42  @SuppressWarnings( "all" )
43  public class ScmResult
44      implements java.io.Serializable
45  {
46  
47        //--------------------------/
48       //- Class/Member Variables -/
49      //--------------------------/
50  
51      /**
52       * Field success.
53       */
54      private boolean success = false;
55  
56      /**
57       * Field commandLine.
58       */
59      private String commandLine;
60  
61      /**
62       * Field providerMessage.
63       */
64      private String providerMessage;
65  
66      /**
67       * Field commandOutput.
68       */
69      private String commandOutput;
70  
71      /**
72       * Field exception.
73       */
74      private String exception;
75  
76      /**
77       * Field changes.
78       */
79      private java.util.List<ChangeSet> changes;
80  
81  
82        //-----------/
83       //- Methods -/
84      //-----------/
85  
86      /**
87       * Method addChange.
88       * 
89       * @param changeSet
90       */
91      public void addChange( ChangeSet changeSet )
92      {
93          getChanges().add( changeSet );
94      } //-- void addChange( ChangeSet )
95  
96      /**
97       * Method getChanges.
98       * 
99       * @return List
100      */
101     public java.util.List<ChangeSet> getChanges()
102     {
103         if ( this.changes == null )
104         {
105             this.changes = new java.util.ArrayList<ChangeSet>();
106         }
107 
108         return this.changes;
109     } //-- java.util.List<ChangeSet> getChanges()
110 
111     /**
112      * Get the commandLine field.
113      * 
114      * @return String
115      */
116     public String getCommandLine()
117     {
118         return this.commandLine;
119     } //-- String getCommandLine()
120 
121     /**
122      * Get the commandOutput field.
123      * 
124      * @return String
125      */
126     public String getCommandOutput()
127     {
128         return this.commandOutput;
129     } //-- String getCommandOutput()
130 
131     /**
132      * Get the exception field.
133      * 
134      * @return String
135      */
136     public String getException()
137     {
138         return this.exception;
139     } //-- String getException()
140 
141     /**
142      * Get the providerMessage field.
143      * 
144      * @return String
145      */
146     public String getProviderMessage()
147     {
148         return this.providerMessage;
149     } //-- String getProviderMessage()
150 
151     /**
152      * Get the success field.
153      * 
154      * @return boolean
155      */
156     public boolean isSuccess()
157     {
158         return this.success;
159     } //-- boolean isSuccess()
160 
161     /**
162      * Method removeChange.
163      * 
164      * @param changeSet
165      */
166     public void removeChange( ChangeSet changeSet )
167     {
168         getChanges().remove( changeSet );
169     } //-- void removeChange( ChangeSet )
170 
171     /**
172      * Set the changes field.
173      * 
174      * @param changes
175      */
176     public void setChanges( java.util.List<ChangeSet> changes )
177     {
178         this.changes = changes;
179     } //-- void setChanges( java.util.List )
180 
181     /**
182      * Set the commandLine field.
183      * 
184      * @param commandLine
185      */
186     public void setCommandLine( String commandLine )
187     {
188         this.commandLine = commandLine;
189     } //-- void setCommandLine( String )
190 
191     /**
192      * Set the commandOutput field.
193      * 
194      * @param commandOutput
195      */
196     public void setCommandOutput( String commandOutput )
197     {
198         this.commandOutput = commandOutput;
199     } //-- void setCommandOutput( String )
200 
201     /**
202      * Set the exception field.
203      * 
204      * @param exception
205      */
206     public void setException( String exception )
207     {
208         this.exception = exception;
209     } //-- void setException( String )
210 
211     /**
212      * Set the providerMessage field.
213      * 
214      * @param providerMessage
215      */
216     public void setProviderMessage( String providerMessage )
217     {
218         this.providerMessage = providerMessage;
219     } //-- void setProviderMessage( String )
220 
221     /**
222      * Set the success field.
223      * 
224      * @param success
225      */
226     public void setSuccess( boolean success )
227     {
228         this.success = success;
229     } //-- void setSuccess( boolean )
230 
231 }