com.atlassian.bitbucket.label.LabelService |
Describes a service for interacting with labels.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new label based on the given labelName.
| |||||||||||
Returns an Optional containing a
Label based on the name. | |||||||||||
Returns a
Label based on the name. | |||||||||||
Creates a new label based on the given labelName.
The labelName has to be at least 3 characters and cannot exceed 50 characters, the labelName also has to be a lowercase string consisting out of alpanumeric characters, "-" is also allowed.
labelName | the name for the newly created label. |
---|
Label
pageRequest | the PageRequest |
---|
Returns Page
of labelables
for a given LabelableSearchRequest
.
searchRequest | a LabelableSearchRequest |
---|---|
pageRequest | the PageRequest |
Page
of labelables