com.atlassian.bamboo.builder
Class MavenBuilder
java.lang.Object
com.atlassian.bamboo.command.Command
com.atlassian.bamboo.builder.AbstractBuilder
com.atlassian.bamboo.builder.AbstractMavenBuilder
com.atlassian.bamboo.builder.MavenBuilder
- All Implemented Interfaces:
- Builder, EnvironmentVariablesAwareBuilder, MutableEnvironmentVariablesAwareBuilder, BambooPluginModule, BuilderV2, ConfigurablePlugin, java.io.Serializable
public class MavenBuilder
- extends AbstractMavenBuilder
This class provides an Maven 1.x version of Builder
.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
KEY
|
static java.lang.String |
KEY_PREFIX
|
static java.lang.String |
NAME
|
static java.lang.String |
PATHHELP
|
Fields inherited from class com.atlassian.bamboo.builder.AbstractBuilder |
BUILD_SUCCESSFUL_MARKER, buildDirectoryManager, DEFAULT_TEST_REPORTS_XML, errorUpdateHandler, FIND_SUCCESS_MESSAGE_IN_LAST, PARAM_BUILD_LABEL, PARAM_BUILDJDK, PARAM_ENV_VAR, PARAM_HASTESTS, PARAM_HOME, PARAM_TEST_RESULTS_DIRECTORY, PARAM_WORKING_SUB_DIR, templateRenderer, velocityManager |
Methods inherited from class com.atlassian.bamboo.builder.AbstractMavenBuilder |
addDefaultValues, getCommandLine, getFullParams, getGoal, getMavenExecutablePath, getTemplateContext, getTestDirectory, getTestResultsDirectory, hasPassed, isPathValid, setGoal, setParams, setTestDirectory, validate, validate |
Methods inherited from class com.atlassian.bamboo.builder.AbstractBuilder |
collateTestResults, customiseLabelTypeMap, customizeBuildRequirements, executeBuild, getBuildDir, getBuildJdk, getCompleteKey, getEditHtml, getEnvironmentVariables, getFilteredParams, getKey, getLabel, getTestChecked, getViewHtml, getWorkingDirectory, getWorkingSubDirectory, hasTests, init, isJdkValid, isLabelPathMapConfigurable, outputEndsWith, populateBuildErrors, prepareConfigObject, runBuild, setAdministrationConfiguration, setBuildDir, setBuildDirectoryManager, setBuildJdk, setEnvironmentVariables, setErrorUpdateHandler, setHasTests, setJdkManager, setKey, setLabel, setTemplateRenderer, setTestChecked, setTestResultsDirectory, setVelocityManager, setWorkingSubDirectory, toString, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
KEY
public static final java.lang.String KEY
- See Also:
- Constant Field Values
KEY_PREFIX
public static final java.lang.String KEY_PREFIX
- See Also:
- Constant Field Values
PATHHELP
public static final java.lang.String PATHHELP
- See Also:
- Constant Field Values
MavenBuilder
public MavenBuilder()
getName
@NotNull
public java.lang.String getName()
- Description copied from interface:
Builder
- Returns a human readable version of the current Builder type
- Returns:
getUrl
public java.lang.String getUrl()
getExecutableFileName
protected java.lang.String getExecutableFileName()
- Description copied from class:
AbstractMavenBuilder
- Gets the executable file name
- Specified by:
getExecutableFileName
in class AbstractMavenBuilder
getCustomEnvironmentVars
protected java.lang.String[] getCustomEnvironmentVars(ReadOnlyCapabilitySet capabilitySet)
- Overrides:
getCustomEnvironmentVars
in class Command
getDefaultTestReportsDirectory
protected java.lang.String getDefaultTestReportsDirectory()
- Specified by:
getDefaultTestReportsDirectory
in class AbstractMavenBuilder
getPath
@NotNull
public java.lang.String getPath(ReadOnlyCapabilitySet capabilitySet)
- Description copied from interface:
Builder
- The home path of the builder's command line
- Specified by:
getPath
in interface Builder
- Overrides:
getPath
in class AbstractBuilder
- Returns:
- The path
getPathHelp
@NotNull
public java.lang.String getPathHelp()
- Description copied from interface:
Builder
- Help text for the builder type
- Specified by:
getPathHelp
in interface Builder
- Overrides:
getPathHelp
in class AbstractBuilder
- Returns:
addDefaultLabelPathMaps
public java.util.Map<java.lang.String,LabelPathMap> addDefaultLabelPathMaps(java.util.Map<java.lang.String,LabelPathMap> labelPathMaps)
- Returns:
Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.