com.atlassian.bamboo.plugins.script.task.configuration
Class ScriptBuildTaskConfigurator
java.lang.Object
com.atlassian.bamboo.task.AbstractTaskConfigurator
com.atlassian.bamboo.plugins.shell.configuration.AbstractShellCommandTaskConfigurator
com.atlassian.bamboo.plugins.script.task.configuration.ScriptBuildTaskConfigurator
- All Implemented Interfaces:
- TaskConfigurator, TaskRequirementSupport
public class ScriptBuildTaskConfigurator
- extends AbstractShellCommandTaskConfigurator
- implements TaskRequirementSupport
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScriptBuildTaskConfigurator
public ScriptBuildTaskConfigurator()
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 paramaterserrorCollection
- - collection to put any errors in.
populateContextForCreate
public void populateContextForCreate(@NotNull
java.util.Map<java.lang.String,java.lang.Object> context)
- Description copied from interface:
TaskConfigurator
- Provide any required context to be used when rendering the freemarker template for creating a task definition.
Allows you to add any default values for initial creation
- Specified by:
populateContextForCreate
in interface TaskConfigurator
- Overrides:
populateContextForCreate
in class AbstractShellCommandTaskConfigurator
- Parameters:
context
- map to put your context in.
populateContextForEdit
public void populateContextForEdit(@NotNull
java.util.Map<java.lang.String,java.lang.Object> context,
@NotNull
TaskDefinition taskDefinition)
- Description copied from interface:
TaskConfigurator
- Provide any required context to be used when rendering the freemarker template for view editing a task definition
- Specified by:
populateContextForEdit
in interface TaskConfigurator
- Overrides:
populateContextForEdit
in class AbstractShellCommandTaskConfigurator
- Parameters:
context
- map to put your context in.taskDefinition
- existing task definition
getLocationTypes
public java.util.List<com.atlassian.core.util.PairType> getLocationTypes()
setTextProvider
public void setTextProvider(com.opensymphony.xwork.TextProvider textProvider)
Copyright © 2011 Atlassian. All Rights Reserved.