public interface BranchModel
A branch model applied to a repository classifies its branches as one of the 2 significant branches (Development or Production), or into one of the branch types, which can be used to facilitate various workflows in that repository.
Modifier and Type | Method and Description |
---|---|
BranchClassifier |
getClassifier()
Get the branch classifier associated with this branch model.
|
com.atlassian.bitbucket.repository.Branch |
getDevelopment()
Get the development branch associated with the repository.
|
com.atlassian.bitbucket.repository.Branch |
getProduction()
Get the production branch associated with the repository.
|
com.atlassian.bitbucket.scope.Scope |
getScope()
Get the scope for this branch model.
|
Set<BranchType> |
getTypes()
Get a set of branch types associated with the repository.
|
@Nonnull BranchClassifier getClassifier()
@Nonnull com.atlassian.bitbucket.repository.Branch getDevelopment()
@Nullable com.atlassian.bitbucket.repository.Branch getProduction()
@Nonnull com.atlassian.bitbucket.scope.Scope getScope()
@Nonnull Set<BranchType> getTypes()
Copyright © 2019 Atlassian. All rights reserved.