com.atlassian.bamboo.plugins.command.task.configuration
Class CommandBuildTaskConfigurator

java.lang.Object
  extended by com.atlassian.bamboo.task.AbstractTaskConfigurator
      extended by com.atlassian.bamboo.plugins.shell.configuration.AbstractShellCommandTaskConfigurator
          extended by com.atlassian.bamboo.plugins.command.task.configuration.CommandBuildTaskConfigurator
All Implemented Interfaces:
BuildTaskRequirementSupport, TaskConfigurator

public class CommandBuildTaskConfigurator
extends AbstractShellCommandTaskConfigurator
implements BuildTaskRequirementSupport


Field Summary
 
Fields inherited from class com.atlassian.bamboo.task.AbstractTaskConfigurator
bambooAuthenticationContext, taskConfiguratorHelper
 
Constructor Summary
CommandBuildTaskConfigurator()
           
 
Method Summary
 java.util.Set<Requirement> calculateRequirements(TaskDefinition taskDefinition, Job job)
          Populates the RequirementSet needed based off of the TaskDefinition
protected  java.util.List<java.lang.String> getFieldsToCopy()
           
 void setTextProvider(com.opensymphony.xwork.TextProvider textProvider)
           
 void validate(ActionParametersMap params, 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, populateContextForView, setUiConfigSupport
 
Methods inherited from class com.atlassian.bamboo.task.AbstractTaskConfigurator
calculateRequirements, getI18nBean, setAuthenticationContext, setTaskConfiguratorHelper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandBuildTaskConfigurator

public CommandBuildTaskConfigurator()
Method Detail

getFieldsToCopy

@NotNull
protected java.util.List<java.lang.String> getFieldsToCopy()
Specified by:
getFieldsToCopy in class AbstractShellCommandTaskConfigurator

calculateRequirements

@NotNull
public java.util.Set<Requirement> calculateRequirements(@NotNull
                                                                TaskDefinition taskDefinition,
                                                                @NotNull
                                                                Job job)
Description copied from interface: BuildTaskRequirementSupport
Populates the RequirementSet needed based off of the TaskDefinition

Specified by:
calculateRequirements in interface BuildTaskRequirementSupport
Overrides:
calculateRequirements in class AbstractTaskConfigurator
Returns:
requirements

validate

public void validate(@NotNull
                     ActionParametersMap params,
                     @NotNull
                     ErrorCollection errorCollection)
Description copied from interface: TaskConfigurator
Validate the params submitted from the UI for this task definition

Specified by:
validate in interface TaskConfigurator
Specified by:
validate in class AbstractShellCommandTaskConfigurator
Parameters:
params - - request paramaters
errorCollection - - collection to put any errors in.

setTextProvider

public void setTextProvider(com.opensymphony.xwork.TextProvider textProvider)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.