com.atlassian.bamboo.deployments.environments
Interface RepositoryAwareDeploymentTaskConfigurator
- All Superinterfaces:
- DeploymentTaskRequirementSupport, TaskConfigurator
- All Known Implementing Classes:
- AbstractRepositoryAwareTaskConfigurator, VcsBranchingTaskConfigurator, VcsCheckoutTaskConfigurator, VcsTaggingTaskConfigurator
public interface RepositoryAwareDeploymentTaskConfigurator
- extends TaskConfigurator, DeploymentTaskRequirementSupport
Interface declaring that Task configured with this TaskConfigurator references RepositoryDefinition
s.
getRepositoriesUsedByTask
@NotNull
java.util.List<RepositoryDefinition> getRepositoriesUsedByTask(@NotNull
TaskDefinition taskDefinition,
@NotNull
Environment environment)
- Parameters:
taskDefinition
- definition of a Taskenvironment
-
- Returns:
- list of
RepositoryDefinition
referenced by the Task
handleRepositoryIdChanged
void handleRepositoryIdChanged(@NotNull
TaskDefinition taskDefinition,
@NotNull
java.util.Map<java.lang.Long,java.lang.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 TaskrepositoryIdChanges
- mapping between old and new repository identifiers
Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.