com.atlassian.bamboo.builder
Class Maven2Builder

java.lang.Object
  extended by com.atlassian.bamboo.command.Command
      extended by com.atlassian.bamboo.builder.AbstractBuilder
          extended by com.atlassian.bamboo.builder.AbstractMavenBuilder
              extended by com.atlassian.bamboo.builder.Maven2Builder
All Implemented Interfaces:
Builder

public class Maven2Builder
extends AbstractMavenBuilder

This class provides a Maven 2.0 version of Builder.


Field Summary
static String KEY
           
static String KEY_PREFIX
           
static String NAME
           
static String PATHHELP
           
 
Fields inherited from class com.atlassian.bamboo.builder.AbstractMavenBuilder
CUSTOM_TEST_DIRECTORY_SELECTED, myGoal, myMavenHome, myTestDirectoryOption, PARAM_GOAL, PARAM_TEST_DIRECTORY_OPTION, STANDARD_TEST_DIRECTORY_SELECTED
 
Fields inherited from class com.atlassian.bamboo.builder.AbstractBuilder
builderManager, DEFAULT_TEST_REPORTS_XML, PARAM_BUILD_LABEL, PARAM_BUILDJDK, PARAM_ENV_VAR, PARAM_HASTESTS, PARAM_HOME, PARAM_TEST_RESULTS_DIRECTORY, PARAM_WORKING_SUB_DIR, pluginManager, templateRenderer, velocityManager
 
Constructor Summary
Maven2Builder()
           
 
Method Summary
 Map addDefaultLabelPathMaps(Map labelPathMaps)
           
protected  String getDefaultTestReportsDirectory()
           
protected  String getExecutableFileName()
          Gets the executable file name
 String getKey()
           
 String getName()
           
 String getPathHelp()
           
protected  Map getTemplateContext()
           
 String getUrl()
           
 
Methods inherited from class com.atlassian.bamboo.builder.AbstractMavenBuilder
addDefaultValues, getCommandLine, getFullParams, getGoal, getMavenExecutablePath, getTestDirectory, getTestResultsDirectory, hasPassed, isPathValid, setGoal, setParams, setTestDirectory, validate, validate
 
Methods inherited from class com.atlassian.bamboo.builder.AbstractBuilder
build, collateTestResults, customiseLabelPathMaps, filterParameters, getAdminConfig, getBuildJdk, getCompleteKey, getEditHtml, getEnvironmentVariables, getFilteredParams, getFreemarkerEditHtml, getLabel, getPath, getTestChecked, getViewHtml, getWorkingDirectory, getWorkingSubDirectory, hasTests, init, isLabelPathMapConfigurable, outputEndsWith, setAdminConfig, setBuildDir, setBuilderManager, setBuildJdk, setEnvironmentVariables, setHasTests, setLabel, setPluginManager, setTemplateRenderer, setTestChecked, setTestResultsDirectory, setVelocityManager, setWorkingSubDirectory, toString, validate
 
Methods inherited from class com.atlassian.bamboo.command.Command
executeCommand, getEnvironmentSetting, getErrorOutput, getOutput, hasErrors, isExecutableExists, isWindowsPlatform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

KEY

public static final String KEY
See Also:
Constant Field Values

KEY_PREFIX

public static final String KEY_PREFIX
See Also:
Constant Field Values

PATHHELP

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

Maven2Builder

public Maven2Builder()
Method Detail

getName

public String getName()

getKey

public String getKey()
Returns:
The simple key of this builder.

getUrl

public String getUrl()

getExecutableFileName

protected String getExecutableFileName()
Description copied from class: AbstractMavenBuilder
Gets the executable file name

Specified by:
getExecutableFileName in class AbstractMavenBuilder

getTemplateContext

protected Map getTemplateContext()
Overrides:
getTemplateContext in class AbstractMavenBuilder

getDefaultTestReportsDirectory

protected String getDefaultTestReportsDirectory()
Specified by:
getDefaultTestReportsDirectory in class AbstractMavenBuilder

addDefaultLabelPathMaps

public Map addDefaultLabelPathMaps(Map labelPathMaps)

getPathHelp

public String getPathHelp()
Specified by:
getPathHelp in interface Builder
Overrides:
getPathHelp in class AbstractBuilder


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.