@PublicApi public interface RepositoryAwareDeploymentTaskConfigurator extends TaskConfigurator, DeploymentTaskRequirementSupport
RepositoryDefinition
s.Modifier and Type | Method and Description |
---|---|
List<RepositoryDefinition> |
getRepositoriesUsedByTask(TaskDefinition taskDefinition,
Environment environment) |
void |
handleRepositoryIdChanged(TaskDefinition taskDefinition,
Map<Long,Long> repositoryIdChanges)
Action taken if repository id changed, i.e.
|
generateTaskConfigMap, populateContextForCreate, populateContextForEdit, validate
calculateRequirements
@NotNull List<RepositoryDefinition> getRepositoriesUsedByTask(@NotNull TaskDefinition taskDefinition, @NotNull Environment environment)
taskDefinition
- definition of a Taskenvironment
- RepositoryDefinition
referenced by the Taskvoid handleRepositoryIdChanged(@NotNull TaskDefinition taskDefinition, @NotNull Map<Long,Long> repositoryIdChanges)
taskDefinition
- definition of a TaskrepositoryIdChanges
- mapping between old and new repository identifiersCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.