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