View Javadoc

1   package org.apache.continuum.builder.distributed.stubs;
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.distributed.transport.slave.SlaveBuildAgentTransportService;
23  
24  import java.util.List;
25  import java.util.Map;
26  import java.util.Properties;
27  
28  public class SlaveBuildAgentTransportClientStub
29      implements SlaveBuildAgentTransportService
30  {
31      public Boolean buildProjects( List<Map<String, Object>> projectsBuildContext )
32          throws Exception
33      {
34          // TODO Auto-generated method stub
35          return null;
36      }
37  
38      public Boolean cancelBuild()
39          throws Exception
40      {
41          // TODO Auto-generated method stub
42          return null;
43      }
44  
45      public String generateWorkingCopyContent( int projectId, String directory, String baseUrl, String imagesBaseUrl )
46          throws Exception
47      {
48          // TODO Auto-generated method stub
49          return null;
50      }
51  
52      public List<Map<String, String>> getAvailableInstallations()
53          throws Exception
54      {
55          // TODO Auto-generated method stub
56          return null;
57      }
58  
59      public Map<String, Object> getBuildResult( int projectId )
60          throws Exception
61      {
62          // TODO Auto-generated method stub
63          return null;
64      }
65  
66      public Integer getBuildSizeOfAgent()
67          throws Exception
68      {
69          // TODO Auto-generated method stub
70          return 0;
71      }
72  
73      public Map getListener( String releaseId )
74          throws Exception
75      {
76          // TODO Auto-generated method stub
77          return null;
78      }
79  
80      public String getPreparedReleaseName( String releaseId )
81          throws Exception
82      {
83          // TODO Auto-generated method stub
84          return null;
85      }
86  
87      public Map<String, Object> getProjectCurrentlyBuilding()
88          throws Exception
89      {
90          // TODO Auto-generated method stub
91          return null;
92      }
93  
94      public Map<String, Object> getProjectCurrentlyPreparingBuild()
95          throws Exception
96      {
97          // TODO Auto-generated method stub
98          return null;
99      }
100 
101     public Map<String, Object> getProjectFile( int projectId, String directory, String filename )
102         throws Exception
103     {
104         // TODO Auto-generated method stub
105         return null;
106     }
107 
108     public List<Map<String, Object>> getProjectsInBuildQueue()
109         throws Exception
110     {
111         // TODO Auto-generated method stub
112         return null;
113     }
114 
115     public List<Map<String, Object>> getProjectsInPrepareBuildQueue()
116         throws Exception
117     {
118         // TODO Auto-generated method stub
119         return null;
120     }
121 
122     public Map getReleasePluginParameters( int projectId, String pomFilename )
123         throws Exception
124     {
125         // TODO Auto-generated method stub
126         return null;
127     }
128 
129     public Map<String, Object> getReleaseResult( String releaseId )
130         throws Exception
131     {
132         // TODO Auto-generated method stub
133         return null;
134     }
135 
136     public Boolean isProjectCurrentlyBuilding( int projectId, int buildDefinitionId )
137         throws Exception
138     {
139         // TODO Auto-generated method stub
140         return null;
141     }
142 
143     public Boolean isProjectGroupInQueue( int projectGroupId )
144         throws Exception
145     {
146         // TODO Auto-generated method stub
147         return null;
148     }
149 
150     public Boolean isProjectScmRootInQueue( int projectScmRootId, List<Integer> projectIds )
151     {
152         return true;
153     }
154 
155     public Boolean isProjectInBuildQueue( int projectId, int buildDefinitionId )
156         throws Exception
157     {
158         // TODO Auto-generated method stub
159         return null;
160     }
161 
162     public Boolean ping()
163         throws Exception
164     {
165         return true;
166     }
167 
168     public List<Map<String, String>> processProject( int projectId, String pomFilename, boolean autoVersionSubmodules )
169         throws Exception
170     {
171         // TODO Auto-generated method stub
172         return null;
173     }
174 
175     public String releaseCleanup( String releaseId )
176         throws Exception
177     {
178         // TODO Auto-generated method stub
179         return null;
180     }
181 
182     public Boolean releasePerform( String releaseId, String goals, String arguments, boolean useReleaseProfile,
183                                    Map repository, String username )
184         throws Exception
185     {
186         // TODO Auto-generated method stub
187         return null;
188     }
189 
190     public String releasePerformFromScm( String goals, String arguments, boolean useReleaseProfile, Map repository,
191                                          String scmUrl, String scmUsername, String scmPassword, String scmTag,
192                                          String scmTagBase, Map environments, String username )
193         throws Exception
194     {
195         // TODO Auto-generated method stub
196         return null;
197     }
198 
199     public String releasePrepare( Map project, Properties properties, Map releaseVersion, Map developmentVersion,
200                                   Map environments, String username )
201         throws Exception
202     {
203         // TODO Auto-generated method stub
204         return null;
205     }
206 
207     public Boolean releaseRollback( String releaseId, int projectId )
208         throws Exception
209     {
210         // TODO Auto-generated method stub
211         return null;
212     }
213 
214     public Boolean removeFromBuildQueue( int projectId, int buildDefinitionId )
215         throws Exception
216     {
217         // TODO Auto-generated method stub
218         return null;
219     }
220 
221     public Boolean removeFromBuildQueue( List<String> hashCodes )
222         throws Exception
223     {
224         // TODO Auto-generated method stub
225         return null;
226     }
227 
228     public Boolean removeFromPrepareBuildQueue( int projectGroupId, int scmRootId )
229         throws Exception
230     {
231         // TODO Auto-generated method stub
232         return null;
233     }
234 
235     public Boolean removeFromPrepareBuildQueue( List<String> hashCodes )
236         throws Exception
237     {
238         // TODO Auto-generated method stub
239         return null;
240     }
241 
242     public Boolean removeListener( String releaseId )
243         throws Exception
244     {
245         // TODO Auto-generated method stub
246         return null;
247     }
248 
249     public List<Map<String, Object>> getProjectsAndBuildDefinitionsCurrentlyPreparingBuild()
250         throws Exception
251     {
252         // TODO Auto-generated method stub
253         return null;
254     }
255 
256     public List<Map<String, Object>> getProjectsAndBuildDefinitionsInPrepareBuildQueue()
257         throws Exception
258     {
259         // TODO Auto-generated method stub
260         return null;
261     }
262 
263     public Boolean isProjectGroupInPrepareBuildQueue( int projectGroupId )
264         throws Exception
265     {
266         // TODO Auto-generated method stub
267         return null;
268     }
269 
270     public Boolean isProjectGroupCurrentlyPreparingBuild( int projectGroupId )
271         throws Exception
272     {
273         // TODO Auto-generated method stub
274         return null;
275     }
276 
277     public String getBuildAgentPlatform()
278     {
279         // TODO Auto-generated method stub
280         return null;
281     }
282 
283     public Boolean isProjectCurrentlyPreparingBuild( int projectId, int buildDefinitionId )
284         throws Exception
285     {
286         // TODO Auto-generated method stub
287         return null;
288     }
289 
290     public Boolean isProjectInPrepareBuildQueue( int projectId, int buildDefinitionId )
291         throws Exception
292     {
293         // TODO Auto-generated method stub
294         return null;
295     }
296 
297     public void executeDirectoryPurge( String directoryType, int daysOlder, int retentionCount, boolean deleteAll )
298         throws Exception
299     {
300         // TODO Auto-generated method stub
301 
302     }
303 
304 }