public interface TaskDefinitionExporter
Modifier and Type | Method and Description |
---|---|
default com.atlassian.bamboo.specs.api.builders.task.Task |
toSpecsEntity(TaskContainer taskContainer,
TaskDefinition taskDefinition)
Create Bamboo Specs object representing this task.
|
com.atlassian.bamboo.specs.api.builders.task.Task |
toSpecsEntity(TaskDefinition taskDefinition)
Create Bamboo Specs object representing this task.
|
default Map<String,String> |
toTaskConfiguration(TaskContainer taskContainer,
List<TaskDefinition> precedingTasks,
com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties)
Converts properties to Bamboo task configuration.
|
Map<String,String> |
toTaskConfiguration(TaskContainer taskContainer,
com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties)
Converts properties to Bamboo task configuration.
|
List<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem> |
validate(TaskValidationContext taskValidationContext,
com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties)
Validates task properties in context of enclosing plan or deployment properties.
|
@NotNull Map<String,String> toTaskConfiguration(@NotNull TaskContainer taskContainer, @NotNull com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties)
taskContainer
- current task container (a job or an environment for instance)taskProperties
- the current task@NotNull default Map<String,String> toTaskConfiguration(@NotNull TaskContainer taskContainer, @NotNull List<TaskDefinition> precedingTasks, @NotNull com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties)
taskContainer
- current task container (a job or an environment for instance)precedingTasks
- list of tasks declared before the current onetaskProperties
- the current task@NotNull com.atlassian.bamboo.specs.api.builders.task.Task toSpecsEntity(@NotNull TaskDefinition taskDefinition)
@NotNull default com.atlassian.bamboo.specs.api.builders.task.Task toSpecsEntity(@NotNull TaskContainer taskContainer, @NotNull TaskDefinition taskDefinition)
@NotNull List<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem> validate(@NotNull TaskValidationContext taskValidationContext, @NotNull com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.