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
-
Method Summary
Modifier and TypeMethodDescription@NotNull Set<Requirement>
calculateRequirements
(@NotNull TaskDefinition taskDefinition) Populates theRequirementSet
needed based off of theTaskDefinition
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 definitionMethods 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
-
Constructor Details
-
CommandBuildTaskConfigurator
public CommandBuildTaskConfigurator()
-
-
Method Details
-
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)
-