public class Maven2BuildTaskConfigurator extends AbstractMavenBuildTaskConfigurator
CFG_TEST_RESULTS_FILE_PATTERN_OPTION_CUSTOM, CFG_TEST_RESULTS_FILE_PATTERN_OPTION_STANDARD, DEFAULT_GOALSbambooAuthenticationContext, taskConfiguratorHelper| Constructor and Description |
|---|
Maven2BuildTaskConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
Set<Requirement> |
calculateRequirements(TaskDefinition taskDefinition)
Populates the
RequirementSet needed based off of the TaskDefinition |
Map<String,String> |
generateTaskConfigMap(ActionParametersMap params,
TaskDefinition previousTaskDefinition)
Convert the params from the ui into a config map to be stored in the database for the taskDefinition.
|
void |
populateContextForCreate(Map<String,Object> context)
Provide any required context to be used when rendering the freemarker template for creating a task definition.
|
populateContextForEdit, setUiConfigSupport, taskProducesTestResults, validatecalculateRequirements, calculateRequirements, getI18nBean, populateContextForView, setAuthenticationContext, setTaskConfiguratorHelper@NotNull public Map<String,String> generateTaskConfigMap(@NotNull ActionParametersMap params, @Nullable TaskDefinition previousTaskDefinition)
TaskConfiguratorgenerateTaskConfigMap in interface TaskConfiguratorgenerateTaskConfigMap in class AbstractMavenBuildTaskConfiguratorparams - - request paramaterspreviousTaskDefinition - - the previous immutable TaskDefinition before saving or null if Task is being created@NotNull public Set<Requirement> calculateRequirements(@NotNull TaskDefinition taskDefinition)
TaskRequirementSupportRequirementSet needed based off of the TaskDefinitioncalculateRequirements in interface TaskRequirementSupportcalculateRequirements in class AbstractMavenBuildTaskConfiguratorpublic void populateContextForCreate(@NotNull
Map<String,Object> context)
TaskConfiguratorpopulateContextForCreate in interface TaskConfiguratorpopulateContextForCreate in class AbstractMavenBuildTaskConfiguratorcontext - map to put your context in.Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.