public class TestResultsParserTaskConfigurator extends AbstractTaskConfigurator implements TaskTestResultsSupport
bambooAuthenticationContext, taskConfiguratorHelper| Constructor and Description |
|---|
TestResultsParserTaskConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 |
setI18nResolver(com.atlassian.sal.api.message.I18nResolver i18nResolver) |
boolean |
taskProducesTestResults(TaskDefinition taskDefinition)
Returns true iff task defined by TaskDefinition produces test results.
|
void |
validate(ActionParametersMap params,
ErrorCollection errorCollection)
Validate the params submitted from the UI for this task definition
|
protected void |
validateTestResultsFilePattern(ActionParametersMap params,
ErrorCollection errorCollection) |
calculateRequirements, calculateRequirements, getI18nBean, populateContextForView, setAuthenticationContext, setTaskConfiguratorHelper@NotNull public Map<String,String> generateTaskConfigMap(@NotNull ActionParametersMap params, @Nullable TaskDefinition previousTaskDefinition)
TaskConfiguratorgenerateTaskConfigMap in interface TaskConfiguratorgenerateTaskConfigMap in class AbstractTaskConfiguratorparams - - request paramaterspreviousTaskDefinition - - the previous immutable TaskDefinition before saving or null if Task is being createdpublic void populateContextForEdit(@NotNull
Map<String,Object> context,
@NotNull
TaskDefinition taskDefinition)
TaskConfiguratorpopulateContextForEdit in interface TaskConfiguratorpopulateContextForEdit in class AbstractTaskConfiguratorcontext - map to put your context in.taskDefinition - existing task definitionpublic void populateContextForCreate(@NotNull
Map<String,Object> context)
TaskConfiguratorpopulateContextForCreate in interface TaskConfiguratorpopulateContextForCreate in class AbstractTaskConfiguratorcontext - map to put your context in.protected void validateTestResultsFilePattern(@NotNull
ActionParametersMap params,
@NotNull
ErrorCollection errorCollection)
public void validate(@NotNull
ActionParametersMap params,
@NotNull
ErrorCollection errorCollection)
TaskConfiguratorvalidate in interface TaskConfiguratorvalidate in class AbstractTaskConfiguratorparams - - request paramaterserrorCollection - - collection to put any errors in.public boolean taskProducesTestResults(@NotNull
TaskDefinition taskDefinition)
TaskTestResultsSupporttaskProducesTestResults in interface TaskTestResultsSupportpublic void setI18nResolver(com.atlassian.sal.api.message.I18nResolver i18nResolver)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.