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