View Javadoc

1   /*
2    =================== DO NOT EDIT THIS FILE ====================
3    Generated by Modello 1.1 on 2011-09-18 11:22:41,
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 modelEncoding.
46       */
47      private String modelEncoding = "UTF-8";
48  
49  
50        //-----------/
51       //- Methods -/
52      //-----------/
53  
54      /**
55       * Method addInstallation.
56       * 
57       * @param installation
58       */
59      public void addInstallation( Installation installation )
60      {
61          getInstallations().add( installation );
62      } //-- void addInstallation( Installation )
63  
64      /**
65       * Get the buildOutputDirectory field.
66       * 
67       * @return String
68       */
69      public String getBuildOutputDirectory()
70      {
71          return this.buildOutputDirectory;
72      } //-- String getBuildOutputDirectory()
73  
74      /**
75       * Get the continuumServerUrl field.
76       * 
77       * @return String
78       */
79      public String getContinuumServerUrl()
80      {
81          return this.continuumServerUrl;
82      } //-- String getContinuumServerUrl()
83  
84      /**
85       * Method getInstallations.
86       * 
87       * @return List
88       */
89      public java.util.List<Installation> getInstallations()
90      {
91          if ( this.installations == null )
92          {
93              this.installations = new java.util.ArrayList<Installation>();
94          }
95  
96          return this.installations;
97      } //-- java.util.List<Installation> getInstallations()
98  
99      /**
100      * Get the modelEncoding field.
101      * 
102      * @return String
103      */
104     public String getModelEncoding()
105     {
106         return this.modelEncoding;
107     } //-- String getModelEncoding()
108 
109     /**
110      * Get the workingDirectory field.
111      * 
112      * @return String
113      */
114     public String getWorkingDirectory()
115     {
116         return this.workingDirectory;
117     } //-- String getWorkingDirectory()
118 
119     /**
120      * Method removeInstallation.
121      * 
122      * @param installation
123      */
124     public void removeInstallation( Installation installation )
125     {
126         getInstallations().remove( installation );
127     } //-- void removeInstallation( Installation )
128 
129     /**
130      * Set the buildOutputDirectory field.
131      * 
132      * @param buildOutputDirectory
133      */
134     public void setBuildOutputDirectory( String buildOutputDirectory )
135     {
136         this.buildOutputDirectory = buildOutputDirectory;
137     } //-- void setBuildOutputDirectory( String )
138 
139     /**
140      * Set the continuumServerUrl field.
141      * 
142      * @param continuumServerUrl
143      */
144     public void setContinuumServerUrl( String continuumServerUrl )
145     {
146         this.continuumServerUrl = continuumServerUrl;
147     } //-- void setContinuumServerUrl( String )
148 
149     /**
150      * Set the installations field.
151      * 
152      * @param installations
153      */
154     public void setInstallations( java.util.List<Installation> installations )
155     {
156         this.installations = installations;
157     } //-- void setInstallations( java.util.List )
158 
159     /**
160      * Set the modelEncoding field.
161      * 
162      * @param modelEncoding
163      */
164     public void setModelEncoding( String modelEncoding )
165     {
166         this.modelEncoding = modelEncoding;
167     } //-- void setModelEncoding( String )
168 
169     /**
170      * Set the workingDirectory field.
171      * 
172      * @param workingDirectory
173      */
174     public void setWorkingDirectory( String workingDirectory )
175     {
176         this.workingDirectory = workingDirectory;
177     } //-- void setWorkingDirectory( String )
178 
179 }