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:
TaskConfigurator, TaskRequirementSupport

public class CommandBuildTaskConfigurator
extends AbstractShellCommandTaskConfigurator
implements TaskRequirementSupport


Field Summary
 
Fields inherited from class com.atlassian.bamboo.task.AbstractTaskConfigurator
taskConfiguratorHelper
 
Constructor Summary
CommandBuildTaskConfigurator()
           
 
Method Summary
 java.util.Set<Requirement> calculateRequirements(TaskDefinition taskDefinition)
          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, setUiConfigBean
 
Methods inherited from class com.atlassian.bamboo.task.AbstractTaskConfigurator
setTaskConfiguratorHelper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.task.TaskConfigurator
generateTaskConfigMap, populateContextForCreate, populateContextForEdit, populateContextForView
 

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)
Description copied from interface: TaskRequirementSupport
Populates the RequirementSet needed based off of the TaskDefinition

Specified by:
calculateRequirements in interface TaskRequirementSupport
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 © 2011 Atlassian. All Rights Reserved.