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
public class ScriptBuildTaskConfigurator
- extends AbstractShellCommandTaskConfigurator
Method Summary |
protected java.util.List<java.lang.String> |
getFieldsToCopy()
|
java.util.List<com.atlassian.core.util.PairType> |
getLocationTypes()
|
void |
populateContextForCreate(java.util.Map<java.lang.String,java.lang.Object> context)
Provide any required context to be used when rendering the freemarker template for creating a task definition. |
void |
populateContextForEdit(java.util.Map<java.lang.String,java.lang.Object> context,
TaskDefinition taskDefinition)
Provide any required context to be used when rendering the freemarker template for view editing a task definition |
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 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
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 © 2012 Atlassian. All Rights Reserved.