org.apache.continuum.buildagent.build.execution
Interface ContinuumAgentBuildExecutor

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

public interface ContinuumAgentBuildExecutor


Field Summary
static String ROLE
           
 
Method Summary
 ContinuumAgentBuildExecutionResult build(Project project, BuildDefinition buildDefinition, File buildOutput, Map<String,String> environments, String localRepository)
           
 List<org.apache.maven.artifact.Artifact> getDeployableArtifacts(Project project, File workingDirectory, BuildDefinition buildDefinition)
           
 org.apache.maven.project.MavenProject getMavenProject(File workingDirectory, BuildDefinition buildDefinition)
           
 boolean isBuilding(Project project)
           
 void killProcess(Project project)
           
 void updateProjectFromWorkingDirectory(File workingDirectory, Project project, BuildDefinition buildDefinition)
           
 

Field Detail

ROLE

static final String ROLE
Method Detail

build

ContinuumAgentBuildExecutionResult build(Project project,
                                         BuildDefinition buildDefinition,
                                         File buildOutput,
                                         Map<String,String> environments,
                                         String localRepository)
                                         throws ContinuumAgentBuildExecutorException,
                                                ContinuumAgentBuildCancelledException
Throws:
ContinuumAgentBuildExecutorException
ContinuumAgentBuildCancelledException

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 ContinuumAgentBuildExecutorException
Throws:
ContinuumAgentBuildExecutorException

updateProjectFromWorkingDirectory

void updateProjectFromWorkingDirectory(File workingDirectory,
                                       Project project,
                                       BuildDefinition buildDefinition)
                                       throws ContinuumAgentBuildExecutorException
Throws:
ContinuumAgentBuildExecutorException

getMavenProject

org.apache.maven.project.MavenProject getMavenProject(File workingDirectory,
                                                      BuildDefinition buildDefinition)
                                                      throws ContinuumAgentBuildExecutorException
Throws:
ContinuumAgentBuildExecutorException


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