@PublicApi public interface RepositoryAwareTaskConfigurator extends TaskConfigurator, BuildTaskRequirementSupport
RepositoryDefinition
s.Modifier and Type | Method and Description |
---|---|
List<PlanRepositoryDefinition> |
getPlanRepositoriesUsedByTask(TaskDefinition taskDefinition,
ImmutableJob job) |
default List<RepositoryDefinition> |
getRepositoriesUsedByTask(TaskDefinition taskDefinition,
ImmutableJob job)
Deprecated.
since 7.0 use
getPlanRepositoriesUsedByTask(TaskDefinition, ImmutableJob) 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 ImmutableJob job)
getPlanRepositoriesUsedByTask(TaskDefinition, ImmutableJob)
instead.taskDefinition
- definition of a Taskjob
- RepositoryDefinition
referenced by the Task@NotNull List<PlanRepositoryDefinition> getPlanRepositoriesUsedByTask(@NotNull TaskDefinition taskDefinition, @NotNull ImmutableJob job)
taskDefinition
- definition of a Taskjob
- 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 © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.