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 -
Method Summary
Modifier and TypeMethodDescription@NotNull Set<Requirement>calculateRequirements(@NotNull TaskDefinition taskDefinition) Populates theRequirementSetneeded based off of theTaskDefinitionvoidsetTextProvider(com.opensymphony.xwork2.TextProvider textProvider) voidvalidate(@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, setUiConfigSupportMethods inherited from class com.atlassian.bamboo.task.AbstractTaskConfigurator
calculateRequirements, calculateRequirements, getI18nBean, populateContextForView, setAuthenticationContext, setTaskConfiguratorHelper
-
Constructor Details
-
CommandBuildTaskConfigurator
public CommandBuildTaskConfigurator()
-
-
Method Details
-
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)
-