public class DumpVariablesTaskExporter extends Object implements TaskDefinitionExporter
Constructor and Description |
---|
DumpVariablesTaskExporter() |
Modifier and Type | Method and Description |
---|---|
@NotNull com.atlassian.bamboo.specs.builders.task.DumpVariablesTask |
toSpecsEntity(@NotNull TaskDefinition taskDefinition)
Create Bamboo Specs object representing this task.
|
@NotNull Map<String,String> |
toTaskConfiguration(@NotNull TaskContainer taskContainer,
@NotNull com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties)
Converts properties to Bamboo task configuration.
|
@NotNull List<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem> |
validate(@NotNull TaskValidationContext taskValidationContext,
@NotNull com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties)
Validates task properties in context of enclosing plan or deployment properties.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromYaml, toSpecsEntity, toTaskConfiguration, toTaskConfiguration, toYaml
@NotNull public @NotNull Map<String,String> toTaskConfiguration(@NotNull @NotNull TaskContainer taskContainer, @NotNull @NotNull com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties)
TaskDefinitionExporter
toTaskConfiguration
in interface TaskDefinitionExporter
taskContainer
- current task container (a job or an environment for instance)taskProperties
- the current task@NotNull public @NotNull com.atlassian.bamboo.specs.builders.task.DumpVariablesTask toSpecsEntity(@NotNull @NotNull TaskDefinition taskDefinition)
TaskDefinitionExporter
toSpecsEntity
in interface TaskDefinitionExporter
@NotNull public @NotNull List<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem> validate(@NotNull @NotNull TaskValidationContext taskValidationContext, @NotNull @NotNull com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties)
TaskDefinitionExporter
Should check RSS permissions if necessary.
validate
in interface TaskDefinitionExporter
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.