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)
          Provides default implementation of BuildTaskRequirementSupport.calculateRequirements(TaskDefinition, Job)
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
 
Methods inherited from interface com.atlassian.bamboo.task.BuildTaskRequirementSupport
calculateRequirements
 

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 class: AbstractTaskConfigurator
Provides default implementation of BuildTaskRequirementSupport.calculateRequirements(TaskDefinition, Job)

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 © 2012 Atlassian. All Rights Reserved.