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 theRequirementSetneeded based off of theTaskDefinitionprotected @NotNull List<String>getFieldsToCopy()voidsetTextProvider(com.opensymphony.xwork2.TextProvider textProvider)voidvalidate(@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:
getFieldsToCopyin classAbstractShellCommandTaskConfigurator
-
calculateRequirements
@NotNull public @NotNull Set<Requirement> calculateRequirements(@NotNull @NotNull TaskDefinition taskDefinition)
Description copied from interface:TaskRequirementSupportPopulates theRequirementSetneeded based off of theTaskDefinition- Specified by:
calculateRequirementsin interfaceTaskRequirementSupport- Returns:
- requirements
-
validate
public void validate(@NotNull @NotNull ActionParametersMap params, @NotNull @NotNull ErrorCollection errorCollection)Description copied from interface:TaskConfiguratorValidate the params submitted from the UI for this task definition- Specified by:
validatein interfaceTaskConfigurator- Specified by:
validatein classAbstractShellCommandTaskConfigurator- Parameters:
params- - request paramaterserrorCollection- - collection to put any errors in.
-
setTextProvider
public void setTextProvider(com.opensymphony.xwork2.TextProvider textProvider)
-
-