org.apache.continuum.distributed.transport.master
Interface MasterBuildAgentTransportService

All Known Implementing Classes:
MasterBuildAgentTransportClient, MasterBuildAgentTransportServer

public interface MasterBuildAgentTransportService

MasterBuildAgentTransportService


Method Summary
 Map<String,String> getEnvironments(Integer buildDefinitionId, String installationType)
           
 Boolean ping()
           
 Boolean prepareBuildFinished(Map<String,Object> prepareBuildResult, String buildAgentUrl)
           
 Boolean returnBuildResult(Map<String,Object> buildResult, String buildAgentUrl)
           
 Boolean shouldBuild(Map<String,Object> context, String buildAgentUrl)
           
 Boolean startPrepareBuild(Map<String,Object> prepareBuildResult, String buildAgentUrl)
           
 Boolean startProjectBuild(Integer projectId, String buildAgentUrl)
           
 Boolean updateProject(Map<String,Object> project)
           
 

Method Detail

returnBuildResult

Boolean returnBuildResult(Map<String,Object> buildResult,
                          String buildAgentUrl)
                          throws Exception
Throws:
Exception

startProjectBuild

Boolean startProjectBuild(Integer projectId,
                          String buildAgentUrl)
                          throws Exception
Throws:
Exception

prepareBuildFinished

Boolean prepareBuildFinished(Map<String,Object> prepareBuildResult,
                             String buildAgentUrl)
                             throws Exception
Throws:
Exception

startPrepareBuild

Boolean startPrepareBuild(Map<String,Object> prepareBuildResult,
                          String buildAgentUrl)
                          throws Exception
Throws:
Exception

getEnvironments

Map<String,String> getEnvironments(Integer buildDefinitionId,
                                   String installationType)
                                   throws Exception
Throws:
Exception

updateProject

Boolean updateProject(Map<String,Object> project)
                      throws Exception
Throws:
Exception

ping

Boolean ping()
             throws Exception
Throws:
Exception

shouldBuild

Boolean shouldBuild(Map<String,Object> context,
                    String buildAgentUrl)
                    throws Exception
Throws:
Exception


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