public interface BranchModelService
BranchModel
s per repository.Modifier and Type | Method and Description |
---|---|
BranchModel |
getModel(com.atlassian.bitbucket.repository.Repository repository)
Get the branch model for a given repository.
|
@Nonnull BranchModel getModel(@Nonnull com.atlassian.bitbucket.repository.Repository repository)
repository
- repositoryrepository
com.atlassian.bitbucket.repository.EmptyRepositoryException
- if the repository is emptycom.atlassian.bitbucket.repository.NoDefaultBranchException
- when no default branch is configured for the repositoryCopyright © 2019 Atlassian. All rights reserved.