@PublicApi public interface RepositoryAwareTaskConfigurator extends TaskConfigurator, BuildTaskRequirementSupport
RepositoryDefinitions.| Modifier and Type | Method and Description |
|---|---|
List<RepositoryDefinition> |
getRepositoriesUsedByTask(TaskDefinition taskDefinition,
ImmutableJob job) |
void |
handleRepositoryIdChanged(TaskDefinition taskDefinition,
Map<Long,Long> repositoryIdChanges)
Action taken if repository id changed, i.e.
|
generateTaskConfigMap, populateContextForCreate, populateContextForEdit, validatecalculateRequirements@NotNull List<RepositoryDefinition> getRepositoriesUsedByTask(@NotNull TaskDefinition taskDefinition, @NotNull ImmutableJob job)
taskDefinition - definition of a Taskjob - 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 © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.