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

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

public class MasterBuildAgentTransportServer
extends java.lang.Object
implements org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportService

MasterBuildAgentTransportServer


Constructor Summary
MasterBuildAgentTransportServer(org.apache.continuum.builder.distributed.DistributedBuildService distributedBuildService)
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.String> getEnvironments(java.lang.Integer buildDefinitionId, java.lang.String installationType)
           
 java.lang.Boolean ping()
           
 java.lang.Boolean prepareBuildFinished(java.util.Map<java.lang.String,java.lang.Object> prepareBuildResult)
           
 java.lang.Boolean returnBuildResult(java.util.Map<java.lang.String,java.lang.Object> buildResult)
           
 java.lang.Boolean shouldBuild(java.util.Map<java.lang.String,java.lang.Object> context)
           
 java.lang.Boolean startPrepareBuild(java.util.Map<java.lang.String,java.lang.Object> prepareBuildResult)
           
 java.lang.Boolean startProjectBuild(java.lang.Integer projectId)
           
 java.lang.Boolean updateProject(java.util.Map<java.lang.String,java.lang.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(org.apache.continuum.builder.distributed.DistributedBuildService distributedBuildService)
Method Detail

returnBuildResult

public java.lang.Boolean returnBuildResult(java.util.Map<java.lang.String,java.lang.Object> buildResult)
                                    throws java.lang.Exception
Specified by:
returnBuildResult in interface org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportService
Throws:
java.lang.Exception

ping

public java.lang.Boolean ping()
                       throws java.lang.Exception
Specified by:
ping in interface org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportService
Throws:
java.lang.Exception

prepareBuildFinished

public java.lang.Boolean prepareBuildFinished(java.util.Map<java.lang.String,java.lang.Object> prepareBuildResult)
                                       throws java.lang.Exception
Specified by:
prepareBuildFinished in interface org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportService
Throws:
java.lang.Exception

startProjectBuild

public java.lang.Boolean startProjectBuild(java.lang.Integer projectId)
                                    throws java.lang.Exception
Specified by:
startProjectBuild in interface org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportService
Throws:
java.lang.Exception

startPrepareBuild

public java.lang.Boolean startPrepareBuild(java.util.Map<java.lang.String,java.lang.Object> prepareBuildResult)
                                    throws java.lang.Exception
Specified by:
startPrepareBuild in interface org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportService
Throws:
java.lang.Exception

getEnvironments

public java.util.Map<java.lang.String,java.lang.String> getEnvironments(java.lang.Integer buildDefinitionId,
                                                                        java.lang.String installationType)
                                                                 throws java.lang.Exception
Specified by:
getEnvironments in interface org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportService
Throws:
java.lang.Exception

updateProject

public java.lang.Boolean updateProject(java.util.Map<java.lang.String,java.lang.Object> project)
                                throws java.lang.Exception
Specified by:
updateProject in interface org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportService
Throws:
java.lang.Exception

shouldBuild

public java.lang.Boolean shouldBuild(java.util.Map<java.lang.String,java.lang.Object> context)
                              throws java.lang.Exception
Specified by:
shouldBuild in interface org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportService
Throws:
java.lang.Exception