public class ScriptBuildTaskConfigurator extends AbstractShellCommandTaskConfigurator
bambooAuthenticationContext, taskConfiguratorHelper
Constructor and Description |
---|
ScriptBuildTaskConfigurator() |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
getFieldsToCopy() |
List<NameValuePair> |
getInterpreterTypes() |
List<com.atlassian.core.util.PairType> |
getLocationTypes() |
void |
populateContextForCreate(Map<String,Object> context)
Provide any required context to be used when rendering the freemarker template for creating a task definition.
|
void |
populateContextForEdit(Map<String,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.xwork2.TextProvider textProvider) |
void |
validate(ActionParametersMap params,
ErrorCollection errorCollection)
Validate the params submitted from the UI for this task definition
|
generateTaskConfigMap, setUiConfigSupport
calculateRequirements, calculateRequirements, getI18nBean, populateContextForView, setAuthenticationContext, setTaskConfiguratorHelper
@NotNull protected List<String> getFieldsToCopy()
getFieldsToCopy
in class AbstractShellCommandTaskConfigurator
public void validate(@NotNull ActionParametersMap params, @NotNull ErrorCollection errorCollection)
TaskConfigurator
validate
in interface TaskConfigurator
validate
in class AbstractShellCommandTaskConfigurator
params
- - request paramaterserrorCollection
- - collection to put any errors in.public void populateContextForCreate(@NotNull Map<String,Object> context)
TaskConfigurator
populateContextForCreate
in interface TaskConfigurator
populateContextForCreate
in class AbstractShellCommandTaskConfigurator
context
- map to put your context in.public void populateContextForEdit(@NotNull Map<String,Object> context, @NotNull TaskDefinition taskDefinition)
TaskConfigurator
populateContextForEdit
in interface TaskConfigurator
populateContextForEdit
in class AbstractShellCommandTaskConfigurator
context
- map to put your context in.taskDefinition
- existing task definitionpublic List<com.atlassian.core.util.PairType> getLocationTypes()
public List<NameValuePair> getInterpreterTypes()
public void setTextProvider(com.opensymphony.xwork2.TextProvider textProvider)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.