org.apache.continuum.distributed.transport.slave
Interface SlaveBuildAgentTransportService

Package class diagram package SlaveBuildAgentTransportService
All Known Implementing Classes:
SlaveBuildAgentTransportClient, SlaveBuildAgentTransportServer

public interface SlaveBuildAgentTransportService

SlaveBuildAgentTransportService


Method Summary
 Boolean buildProjects(List<Map<String,Object>> projectsBuildContext)
           
 Boolean cancelBuild()
           
 String generateWorkingCopyContent(int projectId, String directory, String baseUrl, String imagesBaseUrl)
           
 List<Map<String,String>> getAvailableInstallations()
           
 Map<String,Object> getBuildResult(int projectId)
           
 Integer getBuildSizeOfAgent()
           
 Map getListener(String releaseId)
           
 String getPreparedReleaseName(String releaseId)
           
 Map<String,Object> getProjectCurrentlyBuilding()
           
 Map<String,Object> getProjectCurrentlyPreparingBuild()
           
 String getProjectFileContent(int projectId, String directory, String filename)
           
 List<Map<String,Object>> getProjectsInBuildQueue()
           
 List<Map<String,Object>> getProjectsInPrepareBuildQueue()
           
 Map getReleasePluginParameters(int projectId, String pomFilename)
           
 Map<String,Object> getReleaseResult(String releaseId)
           
 Boolean isProjectCurrentlyBuilding(int projectId)
           
 Boolean isProjectGroupInQueue(int projectGroupId)
           
 Boolean isProjectInBuildQueue(int projectId)
           
 Boolean ping()
           
 List<Map<String,String>> processProject(int projectId, String pomFilename, boolean autoVersionSubmodules)
           
 String releaseCleanup(String releaseId)
           
 Boolean releasePerform(String releaseId, String goals, String arguments, boolean useReleaseProfile, Map repository)
           
 String releasePerformFromScm(String goals, String arguments, boolean useReleaseProfile, Map repository, String scmUrl, String scmUsername, String scmPassword, String scmTag, String scmTagBase, Map environments)
           
 String releasePrepare(Map project, Map properties, Map releaseVersion, Map developmentVersion, Map environments)
           
 Boolean releaseRollback(String releaseId, int projectId)
           
 Boolean removeFromBuildQueue(int projectId, int buildDefinitionId)
           
 Boolean removeFromBuildQueue(List<String> hashCodes)
           
 Boolean removeFromPrepareBuildQueue(int projectGroupId, int scmRootId)
           
 Boolean removeFromPrepareBuildQueue(List<String> hashCodes)
           
 Boolean removeListener(String releaseId)
           
 

Method Detail

buildProjects

Boolean buildProjects(List<Map<String,Object>> projectsBuildContext)
                      throws Exception
Throws:
Exception

getBuildResult

Map<String,Object> getBuildResult(int projectId)
                                  throws Exception
Throws:
Exception

getProjectCurrentlyBuilding

Map<String,Object> getProjectCurrentlyBuilding()
                                               throws Exception
Throws:
Exception

getAvailableInstallations

List<Map<String,String>> getAvailableInstallations()
                                                   throws Exception
Throws:
Exception

ping

Boolean ping()
             throws Exception
Throws:
Exception

cancelBuild

Boolean cancelBuild()
                    throws Exception
Throws:
Exception

generateWorkingCopyContent

String generateWorkingCopyContent(int projectId,
                                  String directory,
                                  String baseUrl,
                                  String imagesBaseUrl)
                                  throws Exception
Throws:
Exception

getProjectFileContent

String getProjectFileContent(int projectId,
                             String directory,
                             String filename)
                             throws Exception
Throws:
Exception

getReleasePluginParameters

Map getReleasePluginParameters(int projectId,
                               String pomFilename)
                               throws Exception
Throws:
Exception

processProject

List<Map<String,String>> processProject(int projectId,
                                        String pomFilename,
                                        boolean autoVersionSubmodules)
                                        throws Exception
Throws:
Exception

releasePrepare

String releasePrepare(Map project,
                      Map properties,
                      Map releaseVersion,
                      Map developmentVersion,
                      Map environments)
                      throws Exception
Throws:
Exception

getReleaseResult

Map<String,Object> getReleaseResult(String releaseId)
                                    throws Exception
Throws:
Exception

getListener

Map getListener(String releaseId)
                throws Exception
Throws:
Exception

removeListener

Boolean removeListener(String releaseId)
                       throws Exception
Throws:
Exception

getPreparedReleaseName

String getPreparedReleaseName(String releaseId)
                              throws Exception
Throws:
Exception

releasePerform

Boolean releasePerform(String releaseId,
                       String goals,
                       String arguments,
                       boolean useReleaseProfile,
                       Map repository)
                       throws Exception
Throws:
Exception

releasePerformFromScm

String releasePerformFromScm(String goals,
                             String arguments,
                             boolean useReleaseProfile,
                             Map repository,
                             String scmUrl,
                             String scmUsername,
                             String scmPassword,
                             String scmTag,
                             String scmTagBase,
                             Map environments)
                             throws Exception
Throws:
Exception

releaseCleanup

String releaseCleanup(String releaseId)
                      throws Exception
Throws:
Exception

releaseRollback

Boolean releaseRollback(String releaseId,
                        int projectId)
                        throws Exception
Throws:
Exception

getBuildSizeOfAgent

Integer getBuildSizeOfAgent()
                            throws Exception
Throws:
Exception

getProjectsInPrepareBuildQueue

List<Map<String,Object>> getProjectsInPrepareBuildQueue()
                                                        throws Exception
Throws:
Exception

getProjectsInBuildQueue

List<Map<String,Object>> getProjectsInBuildQueue()
                                                 throws Exception
Throws:
Exception

getProjectCurrentlyPreparingBuild

Map<String,Object> getProjectCurrentlyPreparingBuild()
                                                     throws Exception
Throws:
Exception

isProjectGroupInQueue

Boolean isProjectGroupInQueue(int projectGroupId)
                              throws Exception
Throws:
Exception

isProjectCurrentlyBuilding

Boolean isProjectCurrentlyBuilding(int projectId)
                                   throws Exception
Throws:
Exception

isProjectInBuildQueue

Boolean isProjectInBuildQueue(int projectId)
                              throws Exception
Throws:
Exception

removeFromPrepareBuildQueue

Boolean removeFromPrepareBuildQueue(int projectGroupId,
                                    int scmRootId)
                                    throws Exception
Throws:
Exception

removeFromPrepareBuildQueue

Boolean removeFromPrepareBuildQueue(List<String> hashCodes)
                                    throws Exception
Throws:
Exception

removeFromBuildQueue

Boolean removeFromBuildQueue(int projectId,
                             int buildDefinitionId)
                             throws Exception
Throws:
Exception

removeFromBuildQueue

Boolean removeFromBuildQueue(List<String> hashCodes)
                             throws Exception
Throws:
Exception


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.