org.apache.continuum.distributed.transport.master
Class MasterBuildAgentTransportClient
java.lang.Object
org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportClient
- All Implemented Interfaces:
- org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportService
public class MasterBuildAgentTransportClient
- extends java.lang.Object
- implements org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportService
MasterBuildAgentTransportClient
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MasterBuildAgentTransportClient
public MasterBuildAgentTransportClient(java.net.URL serviceUrl)
throws java.lang.Exception
- Throws:
java.lang.Exception
MasterBuildAgentTransportClient
public MasterBuildAgentTransportClient(java.net.URL serviceUrl,
java.lang.String login,
java.lang.String password)
throws java.lang.Exception
- Throws:
java.lang.Exception
returnBuildResult
public java.lang.Boolean returnBuildResult(java.util.Map 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 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 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 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 context)
throws java.lang.Exception
- Specified by:
shouldBuild in interface org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportService
- Throws:
java.lang.Exception