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.project;
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.scm.ChangeFile;
21  import org.apache.maven.continuum.xmlrpc.scm.ChangeSet;
22  import org.apache.maven.continuum.xmlrpc.scm.ScmResult;
23  import org.apache.maven.continuum.xmlrpc.system.Installation;
24  import org.apache.maven.continuum.xmlrpc.system.Profile;
25  import org.apache.maven.continuum.xmlrpc.system.SystemConfiguration;
26  
27  /**
28   * Class BuildAgentConfiguration.
29   * 
30   * @version $Revision$ $Date$
31   */
32  @SuppressWarnings( "all" )
33  public class BuildAgentConfiguration
34      implements java.io.Serializable
35  {
36  
37        //--------------------------/
38       //- Class/Member Variables -/
39      //--------------------------/
40  
41      /**
42       * Field url.
43       */
44      private String url;
45  
46      /**
47       * Field description.
48       */
49      private String description;
50  
51      /**
52       * Field enabled.
53       */
54      private boolean enabled = false;
55  
56      /**
57       * Field platform.
58       */
59      private String platform;
60  
61      /**
62       * Field installations.
63       */
64      private java.util.List<Installation> installations;
65  
66  
67        //-----------/
68       //- Methods -/
69      //-----------/
70  
71      /**
72       * Method addInstallation.
73       * 
74       * @param installation
75       */
76      public void addInstallation( Installation installation )
77      {
78          getInstallations().add( installation );
79      } //-- void addInstallation( Installation )
80  
81      /**
82       * Get the description field.
83       * 
84       * @return String
85       */
86      public String getDescription()
87      {
88          return this.description;
89      } //-- String getDescription()
90  
91      /**
92       * Method getInstallations.
93       * 
94       * @return List
95       */
96      public java.util.List<Installation> getInstallations()
97      {
98          if ( this.installations == null )
99          {
100             this.installations = new java.util.ArrayList<Installation>();
101         }
102 
103         return this.installations;
104     } //-- java.util.List<Installation> getInstallations()
105 
106     /**
107      * Get the platform field.
108      * 
109      * @return String
110      */
111     public String getPlatform()
112     {
113         return this.platform;
114     } //-- String getPlatform()
115 
116     /**
117      * Get the url field.
118      * 
119      * @return String
120      */
121     public String getUrl()
122     {
123         return this.url;
124     } //-- String getUrl()
125 
126     /**
127      * Get the enabled field.
128      * 
129      * @return boolean
130      */
131     public boolean isEnabled()
132     {
133         return this.enabled;
134     } //-- boolean isEnabled()
135 
136     /**
137      * Method removeInstallation.
138      * 
139      * @param installation
140      */
141     public void removeInstallation( Installation installation )
142     {
143         getInstallations().remove( installation );
144     } //-- void removeInstallation( Installation )
145 
146     /**
147      * Set the description field.
148      * 
149      * @param description
150      */
151     public void setDescription( String description )
152     {
153         this.description = description;
154     } //-- void setDescription( String )
155 
156     /**
157      * Set the enabled field.
158      * 
159      * @param enabled
160      */
161     public void setEnabled( boolean enabled )
162     {
163         this.enabled = enabled;
164     } //-- void setEnabled( boolean )
165 
166     /**
167      * Set the installations field.
168      * 
169      * @param installations
170      */
171     public void setInstallations( java.util.List<Installation> installations )
172     {
173         this.installations = installations;
174     } //-- void setInstallations( java.util.List )
175 
176     /**
177      * Set the platform field.
178      * 
179      * @param platform
180      */
181     public void setPlatform( String platform )
182     {
183         this.platform = platform;
184     } //-- void setPlatform( String )
185 
186     /**
187      * Set the url field.
188      * 
189      * @param url
190      */
191     public void setUrl( String url )
192     {
193         this.url = url;
194     } //-- void setUrl( String )
195 
196 }