|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.command.Command com.atlassian.bamboo.builder.AbstractBuilder com.atlassian.bamboo.builder.CustomCommandBuilder
@Deprecated public class CustomCommandBuilder
Field Summary | |
---|---|
static java.lang.String |
PARAM_ARG
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 | |
---|---|
CustomCommandBuilder()
Deprecated. |
Method Summary | |
---|---|
java.util.Map<java.lang.String,LabelPathMap> |
addDefaultLabelPathMaps(java.util.Map<java.lang.String,LabelPathMap> labelPathMaps)
Deprecated. |
void |
addDefaultValues(BuildConfiguration configuration)
Deprecated. Extension point for adding default values to the form for RenderableBuildConfiguration.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan) |
protected boolean |
bashExists()
Deprecated. |
java.lang.String |
getArgument()
Deprecated. |
java.lang.String[] |
getCommandArguments(ReadOnlyCapabilitySet capabilitySet)
Deprecated. What are the arguments for the command line to execute |
java.lang.String |
getCommandExecutable(ReadOnlyCapabilitySet capabilitySet)
Deprecated. What is the executable for the command line to execute |
java.util.Map<java.lang.String,java.lang.String> |
getFullParams()
Deprecated. Gets the full params that's used to persist. |
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. |
boolean |
isPathValid(java.lang.String path)
Deprecated. Returns true if the passed path is valid for this builder. |
void |
setArgument(java.lang.String argument)
Deprecated. |
void |
setParams(FilteredMap filteredParams)
Deprecated. Updates the current builder object with |
ErrorCollection |
validate(BuildConfiguration buildConfiguration)
Deprecated. Validates the properties in the BuildConfiguration object. |
ErrorCollection |
validate(FilteredMap filteredParams)
Deprecated. |
Methods inherited from class com.atlassian.bamboo.command.Command |
---|
decorateCommandLine, executeCommand, getBuildLoggerManager, 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 |
Field Detail |
---|
public static final java.lang.String PARAM_ARG
Constructor Detail |
---|
public CustomCommandBuilder()
Method Detail |
---|
@NotNull public java.lang.String getName()
Builder
@NotNull public java.lang.String getPathHelp()
AbstractBuilder
getPathHelp
in interface Builder
getPathHelp
in class AbstractBuilder
public java.lang.String getUrl()
@NotNull public java.lang.String getCommandExecutable(ReadOnlyCapabilitySet capabilitySet)
getCommandExecutable
in class Command
capabilitySet
-
@NotNull public java.lang.String[] getCommandArguments(ReadOnlyCapabilitySet capabilitySet)
getCommandArguments
in class Command
capabilitySet
-
public ErrorCollection validate(FilteredMap filteredParams)
validate
in class AbstractBuilder
@NotNull public ErrorCollection validate(@NotNull BuildConfiguration buildConfiguration)
BuildConfigurationAwarePlugin
BuildConfiguration
object. The name of the properties match those passed
in through the form fragments in RenderableBuildConfiguration.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan)
template.
buildConfiguration
- - @NotNull
ErrorCollection
keyed by the field name. @NotNullpublic void addDefaultValues(@NotNull BuildConfiguration configuration)
BuildConfigurationAwarePlugin
RenderableBuildConfiguration.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan)
configuration
- - @NotNullpublic boolean isPathValid(@Nullable java.lang.String path)
Builder
@NotNull public java.util.Map<java.lang.String,java.lang.String> getFullParams()
Builder
getFullParams
in interface Builder
getFullParams
in class AbstractBuilder
public void setParams(@NotNull FilteredMap filteredParams)
Builder
setParams
in interface Builder
setParams
in class AbstractBuilder
filteredParams
- - Filtered Map with the prefix builder key stripped outpublic java.util.Map<java.lang.String,LabelPathMap> addDefaultLabelPathMaps(java.util.Map<java.lang.String,LabelPathMap> labelPathMaps)
protected boolean bashExists()
public java.lang.String getArgument()
public void setArgument(java.lang.String argument)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |