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, EnvironmentVariablesAwareBuilder, MutableEnvironmentVariablesAwareBuilder, InitablePluginModule, BambooPluginModule, BuildConfigurationAwarePlugin, BuilderV2, ConfigurablePlugin, RenderableBuildConfiguration, java.io.Serializable

Deprecated. since 3.1

@Deprecated
public class Maven2Builder
extends AbstractMavenBuilder

This class provides a Maven 2.x version of Builder.

See Also:
Serialized Form

Field Summary
static java.lang.String BUILDER_PATH_LABEL
          Deprecated.  
static java.lang.String BUILDER_TYPE_LABEL
          Deprecated.  
static java.lang.String CAPABILITY_PREFIX
          Deprecated.  
static java.lang.String COMPLETE_KEY
          Deprecated.  
static java.lang.String KEY
          Deprecated.  
static java.lang.String NAME
          Deprecated.  
static java.lang.String PATHHELP
          Deprecated.  
 
Fields inherited from class com.atlassian.bamboo.builder.AbstractMavenBuilder
CUSTOM_TEST_DIRECTORY_SELECTED, goal, LOCAL_REPOSITORY_PROPERTY_NAME, PARAM_GOAL, PARAM_TEST_DIRECTORY_OPTION, STANDARD_TEST_DIRECTORY_SELECTED, testDirectoryOption
 
Fields inherited from class com.atlassian.bamboo.builder.AbstractBuilder
BUILD_FAILED_MARKER, BUILD_SUCCESSFUL_MARKER, buildDirectoryManager, DEFAULT_TEST_REPORTS_XML, errorUpdateHandler, FIND_FAILURE_MESSAGE_IN_LAST, FIND_SUCCESS_MESSAGE_IN_LAST, PARAM_BUILD_LABEL, PARAM_BUILDJDK, PARAM_ENV_VAR, PARAM_HASTESTS, PARAM_HOME, PARAM_PROJECT_FILE, PARAM_TEST_RESULTS_DIRECTORY, PARAM_WORKING_SUB_DIR, SEARCH_BUILD_SUCCESS_FAIL_MESSAGE_EVERYWHERE, templateRenderer
 
Fields inherited from class com.atlassian.bamboo.command.Command
buildLoggerManager, customVariableContext
 
Fields inherited from interface com.atlassian.bamboo.builder.Builder
CAPABILITY_BUILDER_PREFIX, CAPABILITY_BUILDER_TYPE
 
Constructor Summary
Maven2Builder()
          Deprecated.  
 
Method Summary
 java.util.Map<java.lang.String,LabelPathMap> addDefaultLabelPathMaps(java.util.Map<java.lang.String,LabelPathMap> labelPathMaps)
          Deprecated.  
protected  java.lang.String[] getCustomEnvironmentVars(ReadOnlyCapabilitySet capabilitySet)
          Deprecated.  
protected  java.lang.String getDefaultTestReportsDirectory()
          Deprecated.  
protected  java.lang.String getExecutableFileName()
          Deprecated. Gets the executable file name
 java.lang.String getName()
          Deprecated. Returns a human readable version of the current Builder type
 java.lang.String getPathHelp()
          Deprecated. Return text that will appear as a description under a chosen builder in the "Add Capability" screen
 java.lang.String getUrl()
          Deprecated.  
 void populateBuildErrors(CurrentBuildResult buildResult, java.util.List<java.lang.String> errorOutput, java.lang.String planKey, int buildNumber)
          Deprecated. An extension point for implementors to modify the Error Summary
 
Methods inherited from class com.atlassian.bamboo.builder.AbstractMavenBuilder
addDefaultValues, executeBuild, getCommandArguments, getCommandExecutable, getFullParams, getGoal, getMavenExecutablePath, getMavenVersion, getTemplateContext, getTestDirectory, getTestResultsDirectory, hasPassed, isForceRepositoryIsolation, isPathValid, setForceRepositoryIsolation, setGoal, setParams, setTestDirectory, validate, validate
 
Methods inherited from class com.atlassian.bamboo.builder.AbstractBuilder
collateTestResults, customiseLabelTypeMap, customizeBuildRequirements, getBuildDir, getBuildDirectoryManager, getBuildJdk, getCapabilityPrefix, getCompleteKey, getEditHtml, getEnvironmentVariables, getFilteredParams, getKey, getKeyPrefix, getLabel, getPath, getProjectFile, getSubstitutedEnvironmentVariables, getTestChecked, getViewHtml, getWorkingDirectory, getWorkingSubDirectory, hasTests, init, isJdkValid, isLabelPathMapConfigurable, outputEndsWith, prepareConfigObject, removeAllSystemJdkRequirements, removeBuildRequirements, runBuild, setAdministrationConfiguration, setBuildDir, setBuildDirectoryManager, setBuildJdk, setBuildLogFileAccessorFactory, setEnvironmentVariables, setErrorUpdateHandler, setHasTests, setJdkManager, setKey, setLabel, setProjectFile, setTemplateRenderer, setTestChecked, setTestResultsDirectory, setWorkingSubDirectory, toString, validate
 
Methods inherited from class com.atlassian.bamboo.command.Command
decorateCommandLine, executeCommand, getBuildLoggerManager, getCommandLine, getEnvironmentSetting, getSubstitutedCommandLine, isWindowsPlatform, setBuildLoggerManager, setCustomVariableContext, setPluginAccessor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

KEY

public static final java.lang.String KEY
Deprecated. 
See Also:
Constant Field Values

COMPLETE_KEY

public static final java.lang.String COMPLETE_KEY
Deprecated. 
See Also:
Constant Field Values

CAPABILITY_PREFIX

public static final java.lang.String CAPABILITY_PREFIX
Deprecated. 
See Also:
Constant Field Values

BUILDER_PATH_LABEL

public static final java.lang.String BUILDER_PATH_LABEL
Deprecated. 
See Also:
Constant Field Values

BUILDER_TYPE_LABEL

public static final java.lang.String BUILDER_TYPE_LABEL
Deprecated. 
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
Deprecated. 
See Also:
Constant Field Values

PATHHELP

public static final java.lang.String PATHHELP
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

Maven2Builder

public Maven2Builder()
Deprecated. 
Method Detail

getName

@NotNull
public java.lang.String getName()
Deprecated. 
Description copied from interface: Builder
Returns a human readable version of the current Builder type

Returns:

getUrl

public java.lang.String getUrl()
Deprecated. 

getExecutableFileName

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

Specified by:
getExecutableFileName in class AbstractMavenBuilder
Returns:
The executable file name

getCustomEnvironmentVars

protected java.lang.String[] getCustomEnvironmentVars(ReadOnlyCapabilitySet capabilitySet)
Deprecated. 
Overrides:
getCustomEnvironmentVars in class Command

getDefaultTestReportsDirectory

protected java.lang.String getDefaultTestReportsDirectory()
Deprecated. 
Specified by:
getDefaultTestReportsDirectory in class AbstractMavenBuilder

addDefaultLabelPathMaps

public java.util.Map<java.lang.String,LabelPathMap> addDefaultLabelPathMaps(@NotNull
                                                                            java.util.Map<java.lang.String,LabelPathMap> labelPathMaps)
Deprecated. 
Returns:

populateBuildErrors

public void populateBuildErrors(CurrentBuildResult buildResult,
                                java.util.List<java.lang.String> errorOutput,
                                java.lang.String planKey,
                                int buildNumber)
Deprecated. 
Description copied from class: AbstractBuilder
An extension point for implementors to modify the Error Summary

Specified by:
populateBuildErrors in interface BuilderV2
Overrides:
populateBuildErrors in class AbstractBuilder
Parameters:
buildResult - - CurrentBuildResult representing the results of the current build
errorOutput - - ErrorLogEntry objects representing the current std error output

getPathHelp

@NotNull
public java.lang.String getPathHelp()
Deprecated. 
Description copied from class: AbstractBuilder
Return text that will appear as a description under a chosen builder in the "Add Capability" screen

Specified by:
getPathHelp in interface Builder
Overrides:
getPathHelp in class AbstractBuilder
Returns:
text to display


Copyright © 2011 Atlassian. All Rights Reserved.