org.apache.continuum.buildagent.manager
Class DefaultBuildAgentManager

Package class diagram package 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)
           
 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 org.apache.maven.continuum.ContinuumException
Specified by:
startProjectBuild in interface BuildAgentManager
Throws:
org.apache.maven.continuum.ContinuumException

returnBuildResult

public void returnBuildResult(Map buildResult)
                       throws org.apache.maven.continuum.ContinuumException
Specified by:
returnBuildResult in interface BuildAgentManager
Throws:
org.apache.maven.continuum.ContinuumException

getEnvironments

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

updateProject

public void updateProject(Map project)
                   throws org.apache.maven.continuum.ContinuumException
Specified by:
updateProject in interface BuildAgentManager
Throws:
org.apache.maven.continuum.ContinuumException

shouldBuild

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

startPrepareBuild

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

endPrepareBuild

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


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