com.atlassian.bitbucket.branch.model.BranchClassifier |
Represents a strategy used by branch models
to classify
branches belonging to a certain type
, as well as return all known branches for a given
branch type.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get a list of all branches by given
type . | |||||||||||
Get a list of branches by given
type . | |||||||||||
Get type for given
branch . | |||||||||||
This method is deprecated.
in 5.5 for removal in 6.0. Use
getType(MinimalRef) instead. The new method has a looser
type requirement but has an identical implementation.
|
Get a list of all branches by given type
. The ordering of the list is arbitrary and dependent
on the implementation.
branchType | branch type to query for |
---|
branchType
Get a list of branches by given type
. The ordering of the list is arbitrary and dependent
on the implementation.
branchType | branch type to query for |
---|---|
pageRequest | page request |
branchType
Get type for given branch
.
branch | branch to classify |
---|
branch
, or null
if the branch cannot be classified into any type known to the
branch model
This method is deprecated.
in 5.5 for removal in 6.0. Use getType(MinimalRef)
instead. The new method has a looser
type requirement but has an identical implementation.
Get type for given branch
.
branch | branch to classify |
---|
branch
, or null
if the branch cannot be classified into any type known to the
branch model