public class ArtifactDownloaderTaskExporter extends Object implements TaskDefinitionExporter
Constructor and Description |
---|
ArtifactDownloaderTaskExporter() |
Modifier and Type | Method and Description |
---|---|
void |
setArtifactDefinitionManager(ArtifactDefinitionManager artifactDefinitionManager) |
void |
setBambooAuthenticationContext(BambooAuthenticationContext bambooAuthenticationContext) |
void |
setBambooPermissionManager(BambooPermissionManager bambooPermissionManager) |
void |
setDeploymentProjectService(DeploymentProjectService deploymentProjectService) |
void |
setPlanManager(PlanManager planManager) |
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.
|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toTaskConfiguration
@NotNull public Map<String,String> toTaskConfiguration(@NotNull TaskContainer taskContainer, @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 com.atlassian.bamboo.specs.api.builders.task.Task toSpecsEntity(@NotNull TaskDefinition taskDefinition)
TaskDefinitionExporter
toSpecsEntity
in interface TaskDefinitionExporter
@NotNull public com.atlassian.bamboo.specs.api.builders.task.Task toSpecsEntity(@NotNull TaskContainer taskContainer, @NotNull TaskDefinition taskDefinition)
TaskDefinitionExporter
toSpecsEntity
in interface TaskDefinitionExporter
@NotNull public List<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem> validate(@NotNull TaskValidationContext taskValidationContext, @NotNull com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties)
TaskDefinitionExporter
validate
in interface TaskDefinitionExporter
public void setPlanManager(PlanManager planManager)
public void setArtifactDefinitionManager(ArtifactDefinitionManager artifactDefinitionManager)
public void setDeploymentProjectService(DeploymentProjectService deploymentProjectService)
public void setBambooPermissionManager(BambooPermissionManager bambooPermissionManager)
public void setBambooAuthenticationContext(BambooAuthenticationContext bambooAuthenticationContext)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.