com.atlassian.bamboo.builder
Class AbstractBuilder

java.lang.Object
  extended by com.atlassian.bamboo.command.Command
      extended by com.atlassian.bamboo.builder.AbstractBuilder
All Implemented Interfaces:
Builder, EnvironmentVariablesAwareBuilder, MutableEnvironmentVariablesAwareBuilder, InitablePluginModule, BambooPluginModule, BuildConfigurationAwarePlugin, BuilderV2, ConfigurablePlugin, RenderableBuildConfiguration, java.io.Serializable
Direct Known Subclasses:
AbstractMavenBuilder, AbstractPhpUnitBuilder, AntBuilder, CustomCommandBuilder, GrailsBuilder, ScriptBuilder

Deprecated. Since 3.1. Use tasks TaskType

@Deprecated
public abstract class AbstractBuilder
extends Command
implements Builder, MutableEnvironmentVariablesAwareBuilder

Common builder functionality.

See Also:
Serialized Form

Field Summary
static java.lang.String BUILD_FAILED_MARKER
          Deprecated.  
static java.lang.String BUILD_SUCCESSFUL_MARKER
          Deprecated.  
protected  BuildDirectoryManager buildDirectoryManager
          Deprecated.  
protected static java.lang.String DEFAULT_TEST_REPORTS_XML
          Deprecated.  
protected  ErrorUpdateHandler errorUpdateHandler
          Deprecated.  
protected static int FIND_FAILURE_MESSAGE_IN_LAST
          Deprecated.  
protected static int FIND_SUCCESS_MESSAGE_IN_LAST
          Deprecated. Bamboo will look at this constant to find how far back in the logs to look for a successful message
static java.lang.String PARAM_BUILD_LABEL
          Deprecated.  
static java.lang.String PARAM_BUILDJDK
          Deprecated.  
static java.lang.String PARAM_ENV_VAR
          Deprecated.  
static java.lang.String PARAM_HASTESTS
          Deprecated.  
static java.lang.String PARAM_HOME
          Deprecated.  
static java.lang.String PARAM_PROJECT_FILE
          Deprecated.  
static java.lang.String PARAM_TEST_RESULTS_DIRECTORY
          Deprecated.  
static java.lang.String PARAM_WORKING_SUB_DIR
          Deprecated.  
protected static boolean SEARCH_BUILD_SUCCESS_FAIL_MESSAGE_EVERYWHERE
          Deprecated.  
protected  TemplateRenderer templateRenderer
          Deprecated.  
 
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
protected AbstractBuilder()
          Deprecated.  
 
Method Summary
 void collateTestResults(BuildIdentifier buildIdentifier, CurrentBuildResult buildResult, BuildLogger buildLogger)
          Deprecated.  
 java.util.Map<java.lang.String,java.lang.String> customiseLabelTypeMap(java.util.Map<java.lang.String,java.lang.String> labelTypeMap)
          Deprecated. Allows the builder to add extra label -> builder type key mappings
 void customizeBuildRequirements(PlanKey planKey, BuildConfiguration buildConfiguration, RequirementSet requirementSet)
          Deprecated. Extension point for adding/customizing requirements when editing a build's builder configuration.
 void executeBuild(BuildContext buildContext, ReadOnlyCapabilitySet capabilitySet)
          Deprecated. Runs the build, and updates the build results in the build context.
 java.io.File getBuildDir()
          Deprecated. Location of build directory
 BuildDirectoryManager getBuildDirectoryManager()
          Deprecated.  
 java.lang.String getBuildJdk()
          Deprecated. Provide the UI form with the JDK the build needs to be built on
 java.lang.String getCapabilityPrefix()
          Deprecated. Returns capability prefix of a builder ("system.builder.")
 java.lang.String getCompleteKey()
          Deprecated. Returns the full plugin descriptor key
 java.lang.String getEditHtml(BuildConfiguration buildConfiguration, Plan plan)
          Deprecated. Returns HTML that represents the form fragment for editing the repository.
 java.lang.String getEnvironmentVariables()
          Deprecated. Provides the ui form with the build's system environment variables
protected  FilteredMap<java.lang.String> getFilteredParams()
          Deprecated.  
 java.util.Map<java.lang.String,java.lang.String> getFullParams()
          Deprecated. Gets the full params that's used to persist.
 java.lang.String getKey()
          Deprecated. Returns the short simple key for this builder (e.g.
 java.lang.String getKeyPrefix()
          Deprecated.  
 java.lang.String getLabel()
          Deprecated. What is the label used to getPrettyPrint this item in the GUI?
 java.lang.String getPath(ReadOnlyCapabilitySet capabilitySet)
          Deprecated. The home path of the builder's command line
 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 getProjectFile()
          Deprecated. Return the project file path relative to the working subdirectory
 java.lang.String getSubstitutedEnvironmentVariables()
          Deprecated.  
protected  java.util.Map<java.lang.String,java.lang.Object> getTemplateContext()
          Deprecated.  
 java.lang.String getTestChecked()
          Deprecated. Informs the UI if the build is testless.
 java.lang.String getTestResultsDirectory()
          Deprecated. What are the build's junit test results stored? Can be a comma separated list
 java.lang.String getViewHtml(Plan plan)
          Deprecated. Returns the HTML that represents the view of the repository configuration
 java.io.File getWorkingDirectory()
          Deprecated. Get the location of the build file (includes the working sub directory of if it exists)
 java.lang.String getWorkingSubDirectory()
          Deprecated. Return the optional working subdirectory
 boolean hasPassed(int returnCode, int buildNumber, java.lang.String planKey)
          Deprecated. Determines based on the return code and/or logs whether the build has passed.
 boolean hasTests()
          Deprecated. Does the build have any tests to be included in the build results web pages?
 void init(com.atlassian.plugin.ModuleDescriptor moduleDescriptor)
          Deprecated. Initialises the Plugin with the plugin module descriptor
 boolean isJdkValid()
          Deprecated.  
 boolean isLabelPathMapConfigurable()
          Deprecated. Returns true if the Builder can have its LabelPathMap configurable.
protected  boolean outputEndsWith(int positionFromEnd, java.lang.String expectedText, java.lang.String planKey, int buildNumber)
          Deprecated. since 3.1 please use ContentMatchingInterceptor
 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
 void prepareConfigObject(BuildConfiguration buildConfiguration)
          Deprecated. Do any preprocessing work before validation occurs.
protected  void removeAllSystemJdkRequirements(RequirementSet requirementSet)
          Deprecated.  
 void removeBuildRequirements(PlanKey planKey, BuildConfiguration buildConfiguration, RequirementSet requirementSet)
          Deprecated. Extension point for removing requirements when given plugin is excluded from build's builder configuration.
 CurrentBuildResult runBuild(BuildContext buildContext, ReadOnlyCapabilitySet capabilitySet)
          Deprecated.  
 void setAdministrationConfiguration(AdministrationConfiguration administrationConfiguration)
          Deprecated.  
 void setBuildDir(java.io.File buildDirectory)
          Deprecated. Where is the build file file?
 void setBuildDirectoryManager(BuildDirectoryManager buildDirectoryManager)
          Deprecated.  
 void setBuildJdk(java.lang.String buildJdk)
          Deprecated. Define the JDK the build needs to be built on.
 void setBuildLogFileAccessorFactory(BuildLogFileAccessorFactory buildLogFileAccessorFactory)
          Deprecated.  
 void setEnvironmentVariables(java.lang.String envVars)
          Deprecated. Define the system environment variabled required to build the build.
 void setErrorUpdateHandler(ErrorUpdateHandler errorUpdateHandler)
          Deprecated.  
 void setHasTests(boolean hasTests)
          Deprecated. Does the build have any tests to be included in the build results web pages?
 void setJdkManager(JdkManager jdkManager)
          Deprecated.  
 void setKey(java.lang.String key)
          Deprecated.  
 void setLabel(java.lang.String label)
          Deprecated. Sets the label being used by the builder
 void setParams(FilteredMap filteredParams)
          Deprecated. Updates the current builder object with
 void setProjectFile(java.lang.String projectFile)
          Deprecated. Specify project file path relative to the working subdirectory.
 void setTemplateRenderer(TemplateRenderer templateRenderer)
          Deprecated.  
 void setTestChecked(java.lang.String enabled)
          Deprecated. The user has selected that the build has tests (via a checkbox)
 void setTestResultsDirectory(java.lang.String testResultDirectory)
          Deprecated. Let the builder specify the location of the build's test result files.
 void setWorkingSubDirectory(java.lang.String workingSubDirectory)
          Deprecated. Specify the working sub directory
 java.lang.String toString()
          Deprecated. Default toString simply displays the name so they can be slotted into drop down lists and such like.
protected abstract  ErrorCollection validate(FilteredMap<java.lang.String> filteredParams)
          Deprecated.  
 ErrorCollection validate(ReadOnlyCapabilitySet capabilities)
          Deprecated. Validate the Builder's current internal settings are still valid
 
Methods inherited from class com.atlassian.bamboo.command.Command
decorateCommandLine, executeCommand, getBuildLoggerManager, getCommandArguments, getCommandExecutable, getCommandLine, getCustomEnvironmentVars, getEnvironmentSetting, getSubstitutedCommandLine, isWindowsPlatform, setBuildLoggerManager, setCustomVariableContext, setPluginAccessor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.builder.Builder
addDefaultLabelPathMaps, getName, isPathValid
 
Methods inherited from interface com.atlassian.bamboo.v2.build.BuildConfigurationAwarePlugin
addDefaultValues, validate
 

Field Detail

DEFAULT_TEST_REPORTS_XML

protected static final java.lang.String DEFAULT_TEST_REPORTS_XML
Deprecated. 
See Also:
Constant Field Values

PARAM_BUILD_LABEL

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

PARAM_HASTESTS

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

PARAM_TEST_RESULTS_DIRECTORY

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

PARAM_BUILDJDK

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

PARAM_HOME

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

PARAM_WORKING_SUB_DIR

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

PARAM_PROJECT_FILE

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

PARAM_ENV_VAR

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

FIND_SUCCESS_MESSAGE_IN_LAST

protected static final int FIND_SUCCESS_MESSAGE_IN_LAST
Deprecated. 
Bamboo will look at this constant to find how far back in the logs to look for a successful message


FIND_FAILURE_MESSAGE_IN_LAST

protected static final int FIND_FAILURE_MESSAGE_IN_LAST
Deprecated. 

BUILD_SUCCESSFUL_MARKER

public static final java.lang.String BUILD_SUCCESSFUL_MARKER
Deprecated. 

BUILD_FAILED_MARKER

public static final java.lang.String BUILD_FAILED_MARKER
Deprecated. 

SEARCH_BUILD_SUCCESS_FAIL_MESSAGE_EVERYWHERE

protected static final boolean SEARCH_BUILD_SUCCESS_FAIL_MESSAGE_EVERYWHERE
Deprecated. 

templateRenderer

protected transient TemplateRenderer templateRenderer
Deprecated. 

errorUpdateHandler

protected transient ErrorUpdateHandler errorUpdateHandler
Deprecated. 

buildDirectoryManager

protected transient BuildDirectoryManager buildDirectoryManager
Deprecated. 
Constructor Detail

AbstractBuilder

protected AbstractBuilder()
Deprecated. 
Method Detail

setAdministrationConfiguration

public void setAdministrationConfiguration(AdministrationConfiguration administrationConfiguration)
Deprecated. 

setTemplateRenderer

public void setTemplateRenderer(TemplateRenderer templateRenderer)
Deprecated. 

setErrorUpdateHandler

public void setErrorUpdateHandler(ErrorUpdateHandler errorUpdateHandler)
Deprecated. 

init

public void init(@NotNull
                 com.atlassian.plugin.ModuleDescriptor moduleDescriptor)
Deprecated. 
Description copied from interface: InitablePluginModule
Initialises the Plugin with the plugin module descriptor

Specified by:
init in interface InitablePluginModule
Parameters:
moduleDescriptor - Plugin module descriptor

getKey

@NotNull
public java.lang.String getKey()
Deprecated. 
Description copied from interface: Builder
Returns the short simple key for this builder (e.g. mvn, ant). Needs to be unique across the system for each type

Specified by:
getKey in interface Builder
Returns:
The simple key of this builder.

setKey

public void setKey(@NotNull
                   java.lang.String key)
Deprecated. 

getKeyPrefix

public java.lang.String getKeyPrefix()
Deprecated. 

getCapabilityPrefix

public java.lang.String getCapabilityPrefix()
Deprecated. 
Returns capability prefix of a builder ("system.builder.")

Returns:
capability prefix of a builder

getCompleteKey

@NotNull
public java.lang.String getCompleteKey()
Deprecated. 
Description copied from interface: Builder
Returns the full plugin descriptor key

Specified by:
getCompleteKey in interface Builder
Returns:

getPath

@Nullable
public java.lang.String getPath(ReadOnlyCapabilitySet capabilitySet)
Deprecated. 
Description copied from interface: Builder
The home path of the builder's command line

Specified by:
getPath in interface Builder
Returns:
The path

getEditHtml

@NotNull
public java.lang.String getEditHtml(@NotNull
                                            BuildConfiguration buildConfiguration,
                                            @NotNull
                                            Plan plan)
Deprecated. 
Description copied from interface: RenderableBuildConfiguration
Returns HTML that represents the form fragment for editing the repository. No opening and closing form tags are required.

Specified by:
getEditHtml in interface RenderableBuildConfiguration
Parameters:
buildConfiguration - BuildConfiguration for which edit HTML has to be rendered.
plan - Plan for which edit HTML has to be rendered. May be null during creation phase of plan.
Returns:
HTML string. May be null.

prepareConfigObject

public void prepareConfigObject(@NotNull
                                BuildConfiguration buildConfiguration)
Deprecated. 
Description copied from interface: BuildConfigurationAwarePlugin
Do any preprocessing work before validation occurs. For repository, builder and web repository plugins this will only be called if the plugin is select by the user.

Specified by:
prepareConfigObject in interface BuildConfigurationAwarePlugin
Parameters:
buildConfiguration - - @NotNull

customizeBuildRequirements

public void customizeBuildRequirements(@NotNull
                                       PlanKey planKey,
                                       @NotNull
                                       BuildConfiguration buildConfiguration,
                                       @NotNull
                                       RequirementSet requirementSet)
Deprecated. 
Description copied from interface: ConfigurablePlugin
Extension point for adding/customizing requirements when editing a build's builder configuration.

Specified by:
customizeBuildRequirements in interface ConfigurablePlugin
Parameters:
planKey - key of Plan for which requirements has to be removed.
buildConfiguration - source of information for customizing build requirements
requirementSet - requirements to be customized

removeBuildRequirements

public void removeBuildRequirements(@NotNull
                                    PlanKey planKey,
                                    @NotNull
                                    BuildConfiguration buildConfiguration,
                                    @NotNull
                                    RequirementSet requirementSet)
Deprecated. 
Description copied from interface: ConfigurablePlugin
Extension point for removing requirements when given plugin is excluded from build's builder configuration.

Specified by:
removeBuildRequirements in interface ConfigurablePlugin
Parameters:
planKey - key of Plan for which requirements has to be removed.
buildConfiguration - source of information for customizing build requirements
requirementSet - requirements to be customized

removeAllSystemJdkRequirements

protected void removeAllSystemJdkRequirements(@NotNull
                                              RequirementSet requirementSet)
Deprecated. 

isLabelPathMapConfigurable

public boolean isLabelPathMapConfigurable()
Deprecated. 
Description copied from interface: Builder
Returns true if the Builder can have its LabelPathMap configurable. If it can't be, it won't be displayed on the ConfigureBuilder page.

Specified by:
isLabelPathMapConfigurable in interface Builder
Returns:
true if LabelPathMap is configurable

customiseLabelTypeMap

public java.util.Map<java.lang.String,java.lang.String> customiseLabelTypeMap(java.util.Map<java.lang.String,java.lang.String> labelTypeMap)
Deprecated. 
Description copied from interface: Builder
Allows the builder to add extra label -> builder type key mappings

Specified by:
customiseLabelTypeMap in interface Builder
Parameters:
labelTypeMap - may be null

getTemplateContext

protected java.util.Map<java.lang.String,java.lang.Object> getTemplateContext()
Deprecated. 

executeBuild

public void executeBuild(@NotNull
                         BuildContext buildContext,
                         ReadOnlyCapabilitySet capabilitySet)
                  throws java.lang.InterruptedException,
                         RepositoryException
Deprecated. 
Description copied from interface: BuilderV2
Runs the build, and updates the build results in the build context. This method is also responsible for collating the test results in a build

Specified by:
executeBuild in interface BuilderV2
Throws:
java.lang.InterruptedException
RepositoryException

runBuild

public CurrentBuildResult runBuild(@NotNull
                                   BuildContext buildContext,
                                   @NotNull
                                   ReadOnlyCapabilitySet capabilitySet)
                            throws java.lang.InterruptedException
Deprecated. 
Throws:
java.lang.InterruptedException

populateBuildErrors

public 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

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

collateTestResults

public void collateTestResults(BuildIdentifier buildIdentifier,
                               CurrentBuildResult buildResult,
                               BuildLogger buildLogger)
                        throws java.lang.InterruptedException
Deprecated. 
Throws:
java.lang.InterruptedException

hasPassed

public boolean hasPassed(int returnCode,
                         int buildNumber,
                         java.lang.String planKey)
Deprecated. 
Description copied from interface: BuilderV2
Determines based on the return code and/or logs whether the build has passed. Implementors should log how they came up with their conclusions -

Specified by:
hasPassed in interface BuilderV2
Parameters:
returnCode - return code from build execution command
planKey - @return true if build has passed

setBuildDir

public void setBuildDir(java.io.File buildDirectory)
Deprecated. 
Where is the build file file?

Parameters:
buildDirectory - The directory containing the build file

getBuildDir

public java.io.File getBuildDir()
Deprecated. 
Location of build directory

Returns:
Location of build directory

getWorkingDirectory

public java.io.File getWorkingDirectory()
Deprecated. 
Get the location of the build file (includes the working sub directory of if it exists)

Specified by:
getWorkingDirectory in class Command
Returns:
The build file directory

getLabel

@NotNull
public java.lang.String getLabel()
Deprecated. 
What is the label used to getPrettyPrint this item in the GUI?

Specified by:
getLabel in interface Builder
Returns:
The label

setLabel

public void setLabel(@NotNull
                     java.lang.String label)
Deprecated. 
Description copied from interface: Builder
Sets the label being used by the builder

Specified by:
setLabel in interface Builder

getTestResultsDirectory

public java.lang.String getTestResultsDirectory()
Deprecated. 
What are the build's junit test results stored? Can be a comma separated list

Returns:
Directory containing the Junit xml test files

setTestResultsDirectory

public void setTestResultsDirectory(java.lang.String testResultDirectory)
Deprecated. 
Let the builder specify the location of the build's test result files.

Parameters:
testResultDirectory - The location of the junit test result xml files

getWorkingSubDirectory

public java.lang.String getWorkingSubDirectory()
Deprecated. 
Return the optional working subdirectory

Returns:
The subirectory, null if the working directory is the build root

setWorkingSubDirectory

public void setWorkingSubDirectory(java.lang.String workingSubDirectory)
Deprecated. 
Specify the working sub directory

Parameters:
workingSubDirectory - Working subdirectory relative to build root

getProjectFile

public java.lang.String getProjectFile()
Deprecated. 
Return the project file path relative to the working subdirectory

Returns:
The project file path, or null if not set

setProjectFile

public void setProjectFile(java.lang.String projectFile)
Deprecated. 
Specify project file path relative to the working subdirectory.

Parameters:
projectFile - project file path relative to the working subdirectory

toString

public java.lang.String toString()
Deprecated. 
Default toString simply displays the name so they can be slotted into drop down lists and such like.

Overrides:
toString in class java.lang.Object
Returns:
the string

hasTests

public boolean hasTests()
Deprecated. 
Does the build have any tests to be included in the build results web pages?

Specified by:
hasTests in interface Builder
Returns:
true if the build should have tests.

setHasTests

public void setHasTests(boolean hasTests)
Deprecated. 
Does the build have any tests to be included in the build results web pages?

Parameters:
hasTests - True if the build should have tests.

setTestChecked

public void setTestChecked(java.lang.String enabled)
Deprecated. 
The user has selected that the build has tests (via a checkbox)

Parameters:
enabled - set to "on" by the webwork framework

getTestChecked

public java.lang.String getTestChecked()
Deprecated. 
Informs the UI if the build is testless.

Returns:
true if the build should have tests, false if it's testless.

setEnvironmentVariables

public void setEnvironmentVariables(java.lang.String envVars)
Deprecated. 
Description copied from interface: MutableEnvironmentVariablesAwareBuilder
Define the system environment variabled required to build the build.

Specified by:
setEnvironmentVariables in interface MutableEnvironmentVariablesAwareBuilder
Parameters:
envVars - The params

getEnvironmentVariables

public java.lang.String getEnvironmentVariables()
Deprecated. 
Description copied from interface: EnvironmentVariablesAwareBuilder
Provides the ui form with the build's system environment variables

Specified by:
getEnvironmentVariables in interface EnvironmentVariablesAwareBuilder
Returns:
build environment variables

getSubstitutedEnvironmentVariables

@Nullable
public java.lang.String getSubstitutedEnvironmentVariables()
Deprecated. 

getBuildJdk

@Nullable
public java.lang.String getBuildJdk()
Deprecated. 
Provide the UI form with the JDK the build needs to be built on

Specified by:
getBuildJdk in interface Builder
Returns:
The JAVA_HOME of the JDK

setBuildJdk

public void setBuildJdk(@NotNull
                        java.lang.String buildJdk)
Deprecated. 
Define the JDK the build needs to be built on.

Specified by:
setBuildJdk in interface Builder
Parameters:
buildJdk - The JAVA_HOME JDK

isJdkValid

public boolean isJdkValid()
Deprecated. 

outputEndsWith

@Deprecated
protected boolean outputEndsWith(int positionFromEnd,
                                            java.lang.String expectedText,
                                            java.lang.String planKey,
                                            int buildNumber)
Deprecated. since 3.1 please use ContentMatchingInterceptor

Utility method to check the buildlogs contained the expected success text

Parameters:
positionFromEnd - The expectedText should be wihtin positionFromEnd lines of the end of the output. If 0 the text will not be looked through at all, if -1 the entire text will be searched
expectedText - The text to look for
planKey - The key for the build to check output
buildNumber - The build number to chek the output of
Returns:
true or false; whether the specified text was found in the build logs within the position from end If there is an exception or problem accessing the file, false is returned

setParams

public void setParams(@NotNull
                      FilteredMap filteredParams)
Deprecated. 
Description copied from interface: Builder
Updates the current builder object with

Specified by:
setParams in interface Builder
Parameters:
filteredParams - - Filtered Map with the prefix builder key stripped out

validate

@NotNull
public ErrorCollection validate(ReadOnlyCapabilitySet capabilities)
Deprecated. 
Description copied from interface: Builder
Validate the Builder's current internal settings are still valid

Specified by:
validate in interface Builder
Returns:

validate

protected abstract ErrorCollection validate(FilteredMap<java.lang.String> filteredParams)
Deprecated. 

getFullParams

@NotNull
public java.util.Map<java.lang.String,java.lang.String> getFullParams()
Deprecated. 
Description copied from interface: Builder
Gets the full params that's used to persist.

Specified by:
getFullParams in interface Builder
Returns:
Map key by the full param key (e.g. builder.ant.label). Never null

getFilteredParams

protected FilteredMap<java.lang.String> getFilteredParams()
Deprecated. 

getViewHtml

@NotNull
public java.lang.String getViewHtml(@NotNull
                                            Plan plan)
Deprecated. 
Description copied from interface: RenderableBuildConfiguration
Returns the HTML that represents the view of the repository configuration

Specified by:
getViewHtml in interface RenderableBuildConfiguration
Returns:
HTML string. May be null.

getPathHelp

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

Specified by:
getPathHelp in interface Builder
Returns:
text to display

getBuildDirectoryManager

public BuildDirectoryManager getBuildDirectoryManager()
Deprecated. 

setBuildDirectoryManager

public void setBuildDirectoryManager(BuildDirectoryManager buildDirectoryManager)
Deprecated. 

setJdkManager

public void setJdkManager(JdkManager jdkManager)
Deprecated. 

setBuildLogFileAccessorFactory

public void setBuildLogFileAccessorFactory(BuildLogFileAccessorFactory buildLogFileAccessorFactory)
Deprecated. 


Copyright © 2011 Atlassian. All Rights Reserved.