Interface RepositoryAwareDeploymentTaskConfigurator

All Superinterfaces:
DeploymentTaskRequirementSupport, TaskConfigurator
All Known Implementing Classes:
AbstractRepositoryAwareTaskConfigurator, AbstractVcsTaskConfigurator, VcsBranchTaskConfigurator, VcsCheckoutTaskConfigurator, VcsCommitTaskConfigurator, VcsPushTaskConfigurator, VcsTagTaskConfigurator

@PublicApi public interface RepositoryAwareDeploymentTaskConfigurator extends TaskConfigurator, DeploymentTaskRequirementSupport
Interface declaring that Task configured with this TaskConfigurator references PlanRepositoryDefinitions.
  • Method Details

    • getPlanRepositoriesUsedByTask

      @NotNull @NotNull List<PlanRepositoryDefinition> getPlanRepositoriesUsedByTask(@NotNull @NotNull TaskDefinition taskDefinition, @NotNull @NotNull InternalEnvironment environment)
      Parameters:
      taskDefinition - definition of a Task
      environment -
      Returns:
      list of PlanRepositoryDefinition referenced by the Task
    • handleRepositoryIdChanged

      void handleRepositoryIdChanged(@NotNull @NotNull TaskDefinition taskDefinition, @NotNull @NotNull Map<Long,Long> repositoryIdChanges)
      Action taken if repository id changed, i.e. after repository is edited. Typically, it should replace old repository identifiers with corresponding new id.
      Parameters:
      taskDefinition - definition of a Task
      repositoryIdChanges - mapping between old and new repository identifiers