org.apache.maven.continuum.execution
Interface ContinuumBuildExecutor

All Known Implementing Classes:
AbstractBuildExecutor, AntBuildExecutor, MavenOneBuildExecutor, MavenTwoBuildExecutor, ShellBuildExecutor

public interface ContinuumBuildExecutor

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

Field Summary
static String ROLE
           
 
Method Summary
 void backupTestFiles(Project project, int buildId, String projectScmRootUrl, List<Project> projectsWithCommonScmRoot)
           
 ContinuumBuildExecutionResult build(Project project, BuildDefinition buildDefinition, File buildOutput, List<Project> projectsWithCommonScmRoot, String projectScmRootUrl)
           
 List<org.apache.maven.artifact.Artifact> getDeployableArtifacts(Project project, File workingDirectory, BuildDefinition buildDefinition)
           
 boolean isBuilding(Project project)
           
 void killProcess(Project project)
           
 boolean shouldBuild(List<ChangeSet> changes, Project continuumProject, File workingDirectory, BuildDefinition buildDefinition)
           
 void updateProjectFromCheckOut(File workingDirectory, Project project, BuildDefinition buildDefinition, ScmResult scmResult)
           
 

Field Detail

ROLE

static final String ROLE
Method Detail

build

ContinuumBuildExecutionResult build(Project project,
                                    BuildDefinition buildDefinition,
                                    File buildOutput,
                                    List<Project> projectsWithCommonScmRoot,
                                    String projectScmRootUrl)
                                    throws ContinuumBuildExecutorException
Throws:
ContinuumBuildExecutorException

updateProjectFromCheckOut

void updateProjectFromCheckOut(File workingDirectory,
                               Project project,
                               BuildDefinition buildDefinition,
                               ScmResult scmResult)
                               throws ContinuumBuildExecutorException
Throws:
ContinuumBuildExecutorException

isBuilding

boolean isBuilding(Project project)

killProcess

void killProcess(Project project)

getDeployableArtifacts

List<org.apache.maven.artifact.Artifact> getDeployableArtifacts(Project project,
                                                                File workingDirectory,
                                                                BuildDefinition buildDefinition)
                                                                throws ContinuumBuildExecutorException
Throws:
ContinuumBuildExecutorException

backupTestFiles

void backupTestFiles(Project project,
                     int buildId,
                     String projectScmRootUrl,
                     List<Project> projectsWithCommonScmRoot)

shouldBuild

boolean shouldBuild(List<ChangeSet> changes,
                    Project continuumProject,
                    File workingDirectory,
                    BuildDefinition buildDefinition)
                    throws ContinuumBuildExecutorException
Throws:
ContinuumBuildExecutorException


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