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