@PublicApi public interface RepositoryAwareDeploymentTaskConfigurator extends TaskConfigurator, DeploymentTaskRequirementSupport
RepositoryDefinition
s.Modifier and Type | Method and Description |
---|---|
List<PlanRepositoryDefinition> |
getPlanRepositoriesUsedByTask(TaskDefinition taskDefinition,
InternalEnvironment environment) |
default List<RepositoryDefinition> |
getRepositoriesUsedByTask(TaskDefinition taskDefinition,
Environment environment)
Deprecated.
since 7.0 use
getPlanRepositoriesUsedByTask(TaskDefinition, InternalEnvironment) instead. |
void |
handleRepositoryIdChanged(TaskDefinition taskDefinition,
Map<Long,Long> repositoryIdChanges)
Action taken if repository id changed, i.e.
|
generateTaskConfigMap, populateContextForCreate, populateContextForEdit, validate
calculateRequirements
@Deprecated @NotNull default List<RepositoryDefinition> getRepositoriesUsedByTask(@NotNull TaskDefinition taskDefinition, @NotNull Environment environment)
getPlanRepositoriesUsedByTask(TaskDefinition, InternalEnvironment)
instead.taskDefinition
- definition of a Taskenvironment
- RepositoryDefinition
referenced by the Task@NotNull List<PlanRepositoryDefinition> getPlanRepositoriesUsedByTask(@NotNull TaskDefinition taskDefinition, @NotNull InternalEnvironment environment)
taskDefinition
- definition of a Taskenvironment
- PlanRepositoryDefinition
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 © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.