org.apache.continuum.builder.distributed
Class DefaultDistributedBuildService

java.lang.Object
  extended by org.apache.continuum.builder.distributed.DefaultDistributedBuildService
All Implemented Interfaces:
DistributedBuildService

public class DefaultDistributedBuildService
extends Object
implements DistributedBuildService


Field Summary
 
Fields inherited from interface org.apache.continuum.builder.distributed.DistributedBuildService
ROLE
 
Constructor Summary
DefaultDistributedBuildService()
           
 
Method Summary
 Map<String,String> getEnvironments(int buildDefinitionId, String installationType)
           
 void prepareBuildFinished(Map<String,Object> context)
           
 boolean shouldBuild(Map<String,Object> context)
           
 void startPrepareBuild(Map<String,Object> context)
           
 void startProjectBuild(int projectId)
           
 void updateBuildResult(Map<String,Object> context)
           
 void updateProject(Map<String,Object> context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDistributedBuildService

public DefaultDistributedBuildService()
Method Detail

updateBuildResult

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

prepareBuildFinished

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

startProjectBuild

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

startPrepareBuild

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

getEnvironments

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

updateProject

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

shouldBuild

public boolean shouldBuild(Map<String,Object> context)
Specified by:
shouldBuild in interface DistributedBuildService


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