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