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