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, setUiConfigSupportcalculateRequirements, calculateRequirements, getI18nBean, populateContextForView, setAuthenticationContext, setTaskConfiguratorHelper@NotNull protected @NotNull List<String> getFieldsToCopy()
getFieldsToCopy in class AbstractShellCommandTaskConfiguratorpublic void validate(@NotNull
@NotNull ActionParametersMap params,
@NotNull
@NotNull ErrorCollection errorCollection)
TaskConfiguratorvalidate in interface TaskConfiguratorvalidate in class AbstractShellCommandTaskConfiguratorparams - - request paramaterserrorCollection - - collection to put any errors in.public void populateContextForCreate(@NotNull
@NotNull Map<String,Object> context)
TaskConfiguratorpopulateContextForCreate in interface TaskConfiguratorpopulateContextForCreate in class AbstractShellCommandTaskConfiguratorcontext - map to put your context in.public void populateContextForEdit(@NotNull
@NotNull Map<String,Object> context,
@NotNull
@NotNull TaskDefinition taskDefinition)
TaskConfiguratorpopulateContextForEdit in interface TaskConfiguratorpopulateContextForEdit in class AbstractShellCommandTaskConfiguratorcontext - 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.