public class Maven3BuildTaskConfigurator extends AbstractMavenBuildTaskConfigurator
CFG_TEST_RESULTS_FILE_PATTERN_OPTION_CUSTOM, CFG_TEST_RESULTS_FILE_PATTERN_OPTION_STANDARD, DEFAULT_GOALS
bambooAuthenticationContext, taskConfiguratorHelper
Constructor and Description |
---|
Maven3BuildTaskConfigurator() |
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, validate
calculateRequirements, calculateRequirements, getI18nBean, populateContextForView, setAuthenticationContext, setTaskConfiguratorHelper
@NotNull public Map<String,String> generateTaskConfigMap(@NotNull ActionParametersMap params, @Nullable TaskDefinition previousTaskDefinition)
TaskConfigurator
generateTaskConfigMap
in interface TaskConfigurator
generateTaskConfigMap
in class AbstractMavenBuildTaskConfigurator
params
- - request paramaterspreviousTaskDefinition
- - the previous immutable TaskDefinition
before saving or null if Task is being created@NotNull public Set<Requirement> calculateRequirements(@NotNull TaskDefinition taskDefinition)
TaskRequirementSupport
RequirementSet
needed based off of the TaskDefinition
calculateRequirements
in interface TaskRequirementSupport
calculateRequirements
in class AbstractMavenBuildTaskConfigurator
public void populateContextForCreate(@NotNull Map<String,Object> context)
TaskConfigurator
populateContextForCreate
in interface TaskConfigurator
populateContextForCreate
in class AbstractMavenBuildTaskConfigurator
context
- map to put your context in.Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.