View Javadoc

1   package org.apache.continuum.buildagent.configuration;
2   
3   /*
4    * Licensed to the Apache Software Foundation (ASF) under one
5    * or more contributor license agreements.  See the NOTICE file
6    * distributed with this work for additional information
7    * regarding copyright ownership.  The ASF licenses this file
8    * to you under the Apache License, Version 2.0 (the
9    * "License"); you may not use this file except in compliance
10   * with the License.  You may obtain a copy of the License at
11   *
12   *   http://www.apache.org/licenses/LICENSE-2.0
13   *
14   * Unless required by applicable law or agreed to in writing,
15   * software distributed under the License is distributed on an
16   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17   * KIND, either express or implied.  See the License for the
18   * specific language governing permissions and limitations
19   * under the License.
20   */
21  
22  import org.apache.continuum.buildagent.model.Installation;
23  import org.apache.continuum.buildagent.model.LocalRepository;
24  
25  import java.io.File;
26  import java.util.List;
27  
28  public class GeneralBuildAgentConfiguration
29  {
30      private File workingDirectory;
31  
32      private File buildOutputDirectory;
33  
34      private String continuumServerUrl;
35  
36      private List<Installation> installations;
37  
38      private List<LocalRepository> localRepositories;
39  
40      private String sharedSecretPassword;
41  
42      public File getWorkingDirectory()
43      {
44          return workingDirectory;
45      }
46  
47      public void setWorkingDirectory( File workingDirectory )
48      {
49          this.workingDirectory = workingDirectory;
50      }
51  
52      public File getBuildOutputDirectory()
53      {
54          return buildOutputDirectory;
55      }
56  
57      public void setBuildOutputDirectory( File buildOutputDirectory )
58      {
59          this.buildOutputDirectory = buildOutputDirectory;
60      }
61  
62      public String getContinuumServerUrl()
63      {
64          return continuumServerUrl;
65      }
66  
67      public void setContinuumServerUrl( String continuumServerUrl )
68      {
69          this.continuumServerUrl = continuumServerUrl;
70      }
71  
72      public List<Installation> getInstallations()
73      {
74          return installations;
75      }
76  
77      public void setInstallations( List<Installation> installations )
78      {
79          this.installations = installations;
80      }
81  
82      public List<LocalRepository> getLocalRepositories()
83      {
84          return localRepositories;
85      }
86  
87      public void setLocalRepositories( List<LocalRepository> localRepositories )
88      {
89          this.localRepositories = localRepositories;
90      }
91  
92      public void setSharedSecretPassword( String sharedSecretPassword )
93      {
94          this.sharedSecretPassword = sharedSecretPassword;
95      }
96  
97      public String getSharedSecretPassword()
98      {
99          return sharedSecretPassword;
100     }
101 }