java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.atlassian.bitbucket.pull.PullRequestOrder |
Specifies the direction a list of results should be ordered - oldest first or newest first.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PullRequestOrder | CLOSED_DATE | Indicates pull requests will be ordered by closed timestamp in descending order. | |||||||||
PullRequestOrder | NEWEST | Indicates newer pull requests should be shown before older ones | |||||||||
PullRequestOrder | OLDEST | Indicates older pull requests should be shown before newer ones | |||||||||
PullRequestOrder | PARTICIPANT_STATUS | Indicates pull requests should be shown in an order based on status . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Coerces a string to a
PullRequestOrder or returns the supplied default value if this is not possible. | |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
Indicates pull requests will be ordered by closed timestamp in descending order. Specifically open pull requests will be shown before closed ones, then most recently closed pull requests. Where pull requests are still in the open state newer pull requests are be shown before older ones (i.e. last updated descending).
Indicates newer pull requests should be shown before older ones
Indicates older pull requests should be shown before newer ones
Coerces a string to a PullRequestOrder
or returns the supplied default value if this is not possible.
stringValue | the string value of the pull request |
---|---|
defaultValue | the default value to return if coercion is not possible |
PullRequestOrder
instance