org.apache.maven.continuum.buildcontroller
Class DefaultBuildController
java.lang.Object
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
Fields inherited from interface org.apache.maven.continuum.buildcontroller.BuildController |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultBuildController
public DefaultBuildController()
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.