@PublicApi public interface RepositoryAwareTaskConfigurator extends TaskConfigurator, BuildTaskRequirementSupport
RepositoryDefinition
s.Modifier and Type | Method and Description |
---|---|
List<RepositoryDefinition> |
getRepositoriesUsedByTask(TaskDefinition taskDefinition,
ImmutableJob job) |
void |
handleRepositoryIdChanged(TaskDefinition taskDefinition,
Job job,
Map<Long,Long> repositoryIdChanges)
Deprecated.
since 4.3 use
handleRepositoryIdChanged(TaskDefinition, Map) |
void |
handleRepositoryIdChanged(TaskDefinition taskDefinition,
Map<Long,Long> repositoryIdChanges)
Action taken if repository id changed, i.e.
|
generateTaskConfigMap, populateContextForCreate, populateContextForEdit, validate
calculateRequirements
@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 identifiers@Deprecated void handleRepositoryIdChanged(@NotNull TaskDefinition taskDefinition, @NotNull Job job, @NotNull Map<Long,Long> repositoryIdChanges)
handleRepositoryIdChanged(TaskDefinition, Map)
taskDefinition
- definition of a Taskjob
- repositoryIdChanges
- mapping between old and new repository identifiersCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.