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