org.apache.continuum.distributed.transport.master
Class MasterBuildAgentTransportClient
java.lang.Object
org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportClient
- All Implemented Interfaces:
- MasterBuildAgentTransportService
public class MasterBuildAgentTransportClient
- extends Object
- implements MasterBuildAgentTransportService
MasterBuildAgentTransportClient
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 |
MasterBuildAgentTransportClient
public MasterBuildAgentTransportClient(URL serviceUrl)
throws Exception
- Throws:
Exception
MasterBuildAgentTransportClient
public MasterBuildAgentTransportClient(URL serviceUrl,
String login,
String password)
throws Exception
- Throws:
Exception
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.