Class CommandBuildTaskConfigurator
- java.lang.Object
-
- com.atlassian.bamboo.task.AbstractTaskConfigurator
-
- com.atlassian.bamboo.plugins.shell.configuration.AbstractShellCommandTaskConfigurator
-
- com.atlassian.bamboo.plugins.command.task.configuration.CommandBuildTaskConfigurator
-
- All Implemented Interfaces:
TaskConfigurator
,TaskRequirementSupport
public class CommandBuildTaskConfigurator extends AbstractShellCommandTaskConfigurator implements TaskRequirementSupport
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.task.AbstractTaskConfigurator
bambooAuthenticationContext, taskConfiguratorHelper
-
-
Constructor Summary
Constructors Constructor Description CommandBuildTaskConfigurator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Set<Requirement>
calculateRequirements(@NotNull TaskDefinition taskDefinition)
Populates theRequirementSet
needed based off of theTaskDefinition
protected @NotNull List<String>
getFieldsToCopy()
void
setTextProvider(com.opensymphony.xwork2.TextProvider textProvider)
void
validate(@NotNull ActionParametersMap params, @NotNull ErrorCollection errorCollection)
Validate the params submitted from the UI for this task definition-
Methods inherited from class com.atlassian.bamboo.plugins.shell.configuration.AbstractShellCommandTaskConfigurator
generateTaskConfigMap, populateContextForCreate, populateContextForEdit, setUiConfigSupport
-
Methods inherited from class com.atlassian.bamboo.task.AbstractTaskConfigurator
calculateRequirements, calculateRequirements, getI18nBean, populateContextForView, setAuthenticationContext, setTaskConfiguratorHelper
-
-
-
-
Method Detail
-
getFieldsToCopy
@NotNull protected @NotNull List<String> getFieldsToCopy()
- Specified by:
getFieldsToCopy
in classAbstractShellCommandTaskConfigurator
-
calculateRequirements
@NotNull public @NotNull Set<Requirement> calculateRequirements(@NotNull @NotNull TaskDefinition taskDefinition)
Description copied from interface:TaskRequirementSupport
Populates theRequirementSet
needed based off of theTaskDefinition
- Specified by:
calculateRequirements
in interfaceTaskRequirementSupport
- Returns:
- requirements
-
validate
public void validate(@NotNull @NotNull ActionParametersMap params, @NotNull @NotNull ErrorCollection errorCollection)
Description copied from interface:TaskConfigurator
Validate the params submitted from the UI for this task definition- Specified by:
validate
in interfaceTaskConfigurator
- Specified by:
validate
in classAbstractShellCommandTaskConfigurator
- Parameters:
params
- - request paramaterserrorCollection
- - collection to put any errors in.
-
setTextProvider
public void setTextProvider(com.opensymphony.xwork2.TextProvider textProvider)
-
-