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