java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.atlassian.bitbucket.repository.RefOrder |
Defines orderings which can be applied when retrieving references. The actual approach for applying an ordering is
not established or guaranteed by this enumeration; it may vary by SCM implementation or Ref
type.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RefOrder | ALPHABETICAL | Return references in ascending alphabetical order. | |||||||||
RefOrder | MODIFICATION | Return references in descending modification order, with the most recently-modified references returned first. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Parses the provided
order , if possible. | |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
Return references in descending modification order, with the most recently-modified references returned first.
Parses the provided order
, if possible. If the order
provided is null
, empty
or does not match a known order, null
is returned.
order | the order to parse |
---|
null
if it cannot be parsed