org.apache.continuum.buildagent.manager
Class DefaultBuildAgentManager

java.lang.Object
  extended by org.apache.continuum.buildagent.manager.DefaultBuildAgentManager
All Implemented Interfaces:
BuildAgentManager

public class DefaultBuildAgentManager
extends Object
implements BuildAgentManager


Field Summary
 
Fields inherited from interface org.apache.continuum.buildagent.manager.BuildAgentManager
ROLE
 
Constructor Summary
DefaultBuildAgentManager()
           
 
Method Summary
 void endPrepareBuild(Map<String,Object> context)
           
 Map<String,String> getEnvironments(int buildDefinitionId, String installationType)
           
 boolean pingMaster()
           
 void returnBuildResult(Map buildResult)
           
 boolean shouldBuild(Map<String,Object> context)
           
 void startPrepareBuild(Map<String,Object> context)
           
 void startProjectBuild(int projectId)
           
 void updateProject(Map project)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultBuildAgentManager

public DefaultBuildAgentManager()
Method Detail

startProjectBuild

public void startProjectBuild(int projectId)
                       throws ContinuumException
Specified by:
startProjectBuild in interface BuildAgentManager
Throws:
ContinuumException

returnBuildResult

public void returnBuildResult(Map buildResult)
                       throws ContinuumException
Specified by:
returnBuildResult in interface BuildAgentManager
Throws:
ContinuumException

getEnvironments

public Map<String,String> getEnvironments(int buildDefinitionId,
                                          String installationType)
                                   throws ContinuumException
Specified by:
getEnvironments in interface BuildAgentManager
Throws:
ContinuumException

updateProject

public void updateProject(Map project)
                   throws ContinuumException
Specified by:
updateProject in interface BuildAgentManager
Throws:
ContinuumException

shouldBuild

public boolean shouldBuild(Map<String,Object> context)
                    throws ContinuumException
Specified by:
shouldBuild in interface BuildAgentManager
Throws:
ContinuumException

startPrepareBuild

public void startPrepareBuild(Map<String,Object> context)
                       throws ContinuumException
Specified by:
startPrepareBuild in interface BuildAgentManager
Throws:
ContinuumException

endPrepareBuild

public void endPrepareBuild(Map<String,Object> context)
                     throws ContinuumException
Specified by:
endPrepareBuild in interface BuildAgentManager
Throws:
ContinuumException

pingMaster

public boolean pingMaster()
                   throws ContinuumException
Specified by:
pingMaster in interface BuildAgentManager
Throws:
ContinuumException


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