org.apache.maven.continuum.buildcontroller
Class DefaultBuildController

java.lang.Object
  extended by org.apache.maven.continuum.buildcontroller.DefaultBuildController
All Implemented Interfaces:
BuildController

public class DefaultBuildController
extends Object
implements BuildController

Version:
$Id: DefaultBuildController.java 1372260 2012-08-13 04:29:09Z brett $
Author:
Trygve Laugstøl

Field Summary
 
Fields inherited from interface org.apache.maven.continuum.buildcontroller.BuildController
ROLE
 
Constructor Summary
DefaultBuildController()
           
 
Method Summary
 void build(int projectId, int buildDefinitionId, BuildTrigger buildTrigger, ScmResult scmResult)
           
protected  void checkProjectDependencies(BuildContext context)
           
protected  BuildContext initializeBuildContext(int projectId, int buildDefinitionId, BuildTrigger buildTrigger, ScmResult scmResult)
          Initializes a BuildContext for the build.
protected  boolean shouldBuild(BuildContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultBuildController

public DefaultBuildController()
Method Detail

build

public void build(int projectId,
                  int buildDefinitionId,
                  BuildTrigger buildTrigger,
                  ScmResult scmResult)
           throws org.codehaus.plexus.taskqueue.execution.TaskExecutionException
Specified by:
build in interface BuildController
Parameters:
projectId -
buildDefinitionId -
buildTrigger -
scmResult -
Throws:
org.codehaus.plexus.taskqueue.execution.TaskExecutionException

initializeBuildContext

protected BuildContext initializeBuildContext(int projectId,
                                              int buildDefinitionId,
                                              BuildTrigger buildTrigger,
                                              ScmResult scmResult)
                                       throws org.codehaus.plexus.taskqueue.execution.TaskExecutionException
Initializes a BuildContext for the build.

Parameters:
projectId -
buildDefinitionId -
buildTrigger -
scmResult -
Returns:
Throws:
org.codehaus.plexus.taskqueue.execution.TaskExecutionException

shouldBuild

protected boolean shouldBuild(BuildContext context)
                       throws org.codehaus.plexus.taskqueue.execution.TaskExecutionException
Throws:
org.codehaus.plexus.taskqueue.execution.TaskExecutionException

checkProjectDependencies

protected void checkProjectDependencies(BuildContext context)


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