| 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 | 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 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