org.apache.continuum.buildagent.build.execution.maven.m1
Class MavenOneBuildExecutor

java.lang.Object
  extended by org.apache.continuum.buildagent.build.execution.AbstractBuildExecutor
      extended by org.apache.continuum.buildagent.build.execution.maven.m1.MavenOneBuildExecutor
All Implemented Interfaces:
ContinuumAgentBuildExecutor, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable

public class MavenOneBuildExecutor
extends AbstractBuildExecutor
implements ContinuumAgentBuildExecutor


Field Summary
static String CONFIGURATION_GOALS
           
static String ID
           
 
Fields inherited from class org.apache.continuum.buildagent.build.execution.AbstractBuildExecutor
log
 
Fields inherited from interface org.apache.continuum.buildagent.build.execution.ContinuumAgentBuildExecutor
ROLE
 
Constructor Summary
MavenOneBuildExecutor()
           
 
Method Summary
 ContinuumAgentBuildExecutionResult build(Project project, BuildDefinition buildDefinition, File buildOutput, Map<String,String> environments, String localRepository)
           
 void updateProjectFromWorkingDirectory(File workingDirectory, Project project, BuildDefinition buildDefinition)
           
 
Methods inherited from class org.apache.continuum.buildagent.build.execution.AbstractBuildExecutor
executeShellCommand, findExecutable, getBuildAgentConfigurationService, getBuildAgentInstallationService, getBuildAgentManager, getBuildFileForProject, getContinuumSystemProperties, getDefaultExecutable, getDeployableArtifacts, getExecutableResolver, getMavenProject, getProjectDependencies, getProjectDevelopers, getProjectNotifiers, getProjectParent, getShellCommandHelper, getWorkingDirectory, initialize, isBuilding, isResolveExecutable, killProcess, setBuildAgentConfigurationService, setBuildAgentInstallationService, setBuildAgentManager, setDefaultExecutable, setExecutableResolver, setResolveExecutable, setShellCommandHelper, updateProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.continuum.buildagent.build.execution.ContinuumAgentBuildExecutor
getDeployableArtifacts, getMavenProject, isBuilding, killProcess
 

Field Detail

CONFIGURATION_GOALS

public static final String CONFIGURATION_GOALS
See Also:
Constant Field Values

ID

public static final String ID
See Also:
Constant Field Values
Constructor Detail

MavenOneBuildExecutor

public MavenOneBuildExecutor()
Method Detail

build

public ContinuumAgentBuildExecutionResult build(Project project,
                                                BuildDefinition buildDefinition,
                                                File buildOutput,
                                                Map<String,String> environments,
                                                String localRepository)
                                         throws ContinuumAgentBuildExecutorException,
                                                ContinuumAgentBuildCancelledException
Specified by:
build in interface ContinuumAgentBuildExecutor
Throws:
ContinuumAgentBuildExecutorException
ContinuumAgentBuildCancelledException

updateProjectFromWorkingDirectory

public void updateProjectFromWorkingDirectory(File workingDirectory,
                                              Project project,
                                              BuildDefinition buildDefinition)
                                       throws ContinuumAgentBuildExecutorException
Specified by:
updateProjectFromWorkingDirectory in interface ContinuumAgentBuildExecutor
Throws:
ContinuumAgentBuildExecutorException


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