com.atlassian.bamboo.repository
Interface BranchAwareRepository
- All Superinterfaces:
- BambooPluginModule, BuildConfigurationAwarePlugin, ConfigurablePlugin, ConvertibleFromConfig, DescriptionProvider, InitablePluginModule, NameProvider, RenderableBuildConfiguration, Repository, RepositoryV2, Serializable
- All Known Subinterfaces:
- BitbucketDelegatedRepository, BranchDetectionCapableRepository, BranchInformationProvider, BranchMergingAwareRepository
- All Known Implementing Classes:
- BitbucketRepository, GitHubRepository, GitRepository, HgRepository, StashRepository, SvnRepository
public interface BranchAwareRepository
- extends Repository
Repository that supports setting and getting the current branch.
- Since:
- 4.0
- See Also:
Repository
getVcsBranch
@NotNull
VcsBranch getVcsBranch()
- Returns:
- the branch being used currently by this repository.
setVcsBranch
void setVcsBranch(@NotNull
VcsBranch branch)
- Set and prepare the repository for using an arbitrary branch. Generally the subsequent getVcsBranch should
return the same branch name.
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.