org.apache.continuum.distributed.transport.master
Class MasterBuildAgentTransportServer

java.lang.Object
  extended by org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportServer
All Implemented Interfaces:
MasterBuildAgentTransportService

public class MasterBuildAgentTransportServer
extends Object
implements MasterBuildAgentTransportService

MasterBuildAgentTransportServer


Constructor Summary
MasterBuildAgentTransportServer(DistributedBuildService distributedBuildService)
           
 
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MasterBuildAgentTransportServer

public MasterBuildAgentTransportServer(DistributedBuildService distributedBuildService)
Method Detail

returnBuildResult

public Boolean returnBuildResult(Map<String,Object> buildResult,
                                 String buildAgentUrl)
                          throws Exception
Specified by:
returnBuildResult in interface MasterBuildAgentTransportService
Throws:
Exception

ping

public Boolean ping()
             throws Exception
Specified by:
ping in interface MasterBuildAgentTransportService
Throws:
Exception

prepareBuildFinished

public Boolean prepareBuildFinished(Map<String,Object> prepareBuildResult,
                                    String buildAgentUrl)
                             throws Exception
Specified by:
prepareBuildFinished in interface MasterBuildAgentTransportService
Throws:
Exception

startProjectBuild

public Boolean startProjectBuild(Integer projectId,
                                 String buildAgentUrl)
                          throws Exception
Specified by:
startProjectBuild in interface MasterBuildAgentTransportService
Throws:
Exception

startPrepareBuild

public Boolean startPrepareBuild(Map<String,Object> prepareBuildResult,
                                 String buildAgentUrl)
                          throws Exception
Specified by:
startPrepareBuild in interface MasterBuildAgentTransportService
Throws:
Exception

getEnvironments

public Map<String,String> getEnvironments(Integer buildDefinitionId,
                                          String installationType)
                                   throws Exception
Specified by:
getEnvironments in interface MasterBuildAgentTransportService
Throws:
Exception

updateProject

public Boolean updateProject(Map<String,Object> project)
                      throws Exception
Specified by:
updateProject in interface MasterBuildAgentTransportService
Throws:
Exception

shouldBuild

public Boolean shouldBuild(Map<String,Object> context,
                           String buildAgentUrl)
                    throws Exception
Specified by:
shouldBuild in interface MasterBuildAgentTransportService
Throws:
Exception


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