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.continuum.buildagent.model;
9   
10  /**
11   * Class ContinuumBuildAgentConfigurationModel.
12   * 
13   * @version $Revision$ $Date$
14   */
15  @SuppressWarnings( "all" )
16  public class ContinuumBuildAgentConfigurationModel
17      implements java.io.Serializable
18  {
19  
20        //--------------------------/
21       //- Class/Member Variables -/
22      //--------------------------/
23  
24      /**
25       * Field buildOutputDirectory.
26       */
27      private String buildOutputDirectory;
28  
29      /**
30       * Field workingDirectory.
31       */
32      private String workingDirectory;
33  
34      /**
35       * Field continuumServerUrl.
36       */
37      private String continuumServerUrl;
38  
39      /**
40       * Field installations.
41       */
42      private java.util.List<Installation> installations;
43  
44      /**
45       * Field localRepositories.
46       */
47      private java.util.List<LocalRepository> localRepositories;
48  
49      /**
50       * Field sharedSecretPassword.
51       */
52      private String sharedSecretPassword;
53  
54      /**
55       * Field modelEncoding.
56       */
57      private String modelEncoding = "UTF-8";
58  
59  
60        //-----------/
61       //- Methods -/
62      //-----------/
63  
64      /**
65       * Method addInstallation.
66       * 
67       * @param installation
68       */
69      public void addInstallation( Installation installation )
70      {
71          getInstallations().add( installation );
72      } //-- void addInstallation( Installation )
73  
74      /**
75       * Method addLocalRepository.
76       * 
77       * @param localRepository
78       */
79      public void addLocalRepository( LocalRepository localRepository )
80      {
81          getLocalRepositories().add( localRepository );
82      } //-- void addLocalRepository( LocalRepository )
83  
84      /**
85       * Get the buildOutputDirectory field.
86       * 
87       * @return String
88       */
89      public String getBuildOutputDirectory()
90      {
91          return this.buildOutputDirectory;
92      } //-- String getBuildOutputDirectory()
93  
94      /**
95       * Get the continuumServerUrl field.
96       * 
97       * @return String
98       */
99      public String getContinuumServerUrl()
100     {
101         return this.continuumServerUrl;
102     } //-- String getContinuumServerUrl()
103 
104     /**
105      * Method getInstallations.
106      * 
107      * @return List
108      */
109     public java.util.List<Installation> getInstallations()
110     {
111         if ( this.installations == null )
112         {
113             this.installations = new java.util.ArrayList<Installation>();
114         }
115 
116         return this.installations;
117     } //-- java.util.List<Installation> getInstallations()
118 
119     /**
120      * Method getLocalRepositories.
121      * 
122      * @return List
123      */
124     public java.util.List<LocalRepository> getLocalRepositories()
125     {
126         if ( this.localRepositories == null )
127         {
128             this.localRepositories = new java.util.ArrayList<LocalRepository>();
129         }
130 
131         return this.localRepositories;
132     } //-- java.util.List<LocalRepository> getLocalRepositories()
133 
134     /**
135      * Get the modelEncoding field.
136      * 
137      * @return String
138      */
139     public String getModelEncoding()
140     {
141         return this.modelEncoding;
142     } //-- String getModelEncoding()
143 
144     /**
145      * Get the sharedSecretPassword field.
146      * 
147      * @return String
148      */
149     public String getSharedSecretPassword()
150     {
151         return this.sharedSecretPassword;
152     } //-- String getSharedSecretPassword()
153 
154     /**
155      * Get the workingDirectory field.
156      * 
157      * @return String
158      */
159     public String getWorkingDirectory()
160     {
161         return this.workingDirectory;
162     } //-- String getWorkingDirectory()
163 
164     /**
165      * Method removeInstallation.
166      * 
167      * @param installation
168      */
169     public void removeInstallation( Installation installation )
170     {
171         getInstallations().remove( installation );
172     } //-- void removeInstallation( Installation )
173 
174     /**
175      * Method removeLocalRepository.
176      * 
177      * @param localRepository
178      */
179     public void removeLocalRepository( LocalRepository localRepository )
180     {
181         getLocalRepositories().remove( localRepository );
182     } //-- void removeLocalRepository( LocalRepository )
183 
184     /**
185      * Set the buildOutputDirectory field.
186      * 
187      * @param buildOutputDirectory
188      */
189     public void setBuildOutputDirectory( String buildOutputDirectory )
190     {
191         this.buildOutputDirectory = buildOutputDirectory;
192     } //-- void setBuildOutputDirectory( String )
193 
194     /**
195      * Set the continuumServerUrl field.
196      * 
197      * @param continuumServerUrl
198      */
199     public void setContinuumServerUrl( String continuumServerUrl )
200     {
201         this.continuumServerUrl = continuumServerUrl;
202     } //-- void setContinuumServerUrl( String )
203 
204     /**
205      * Set the installations field.
206      * 
207      * @param installations
208      */
209     public void setInstallations( java.util.List<Installation> installations )
210     {
211         this.installations = installations;
212     } //-- void setInstallations( java.util.List )
213 
214     /**
215      * Set the localRepositories field.
216      * 
217      * @param localRepositories
218      */
219     public void setLocalRepositories( java.util.List<LocalRepository> localRepositories )
220     {
221         this.localRepositories = localRepositories;
222     } //-- void setLocalRepositories( java.util.List )
223 
224     /**
225      * Set the modelEncoding field.
226      * 
227      * @param modelEncoding
228      */
229     public void setModelEncoding( String modelEncoding )
230     {
231         this.modelEncoding = modelEncoding;
232     } //-- void setModelEncoding( String )
233 
234     /**
235      * Set the sharedSecretPassword field.
236      * 
237      * @param sharedSecretPassword
238      */
239     public void setSharedSecretPassword( String sharedSecretPassword )
240     {
241         this.sharedSecretPassword = sharedSecretPassword;
242     } //-- void setSharedSecretPassword( String )
243 
244     /**
245      * Set the workingDirectory field.
246      * 
247      * @param workingDirectory
248      */
249     public void setWorkingDirectory( String workingDirectory )
250     {
251         this.workingDirectory = workingDirectory;
252     } //-- void setWorkingDirectory( String )
253 
254 }