public enum RefOrder extends Enum<RefOrder>
Ref
type.Enum Constant and Description |
---|
ALPHABETICAL
Return references in ascending alphabetical order.
|
MODIFICATION
Return references in descending modification order, with the most recently-modified references returned
first.
|
Modifier and Type | Method and Description |
---|---|
static RefOrder |
fromValueOrNull(String order)
Parses the provided
order , if possible. |
static RefOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RefOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RefOrder ALPHABETICAL
public static final RefOrder MODIFICATION
public static RefOrder[] values()
for (RefOrder c : RefOrder.values()) System.out.println(c);
public static RefOrder valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Nullable public static RefOrder fromValueOrNull(@Nullable String order)
order
, if possible. If the order
provided is null
, empty
or does not match a known order, null
is returned.order
- the order to parsenull
if it cannot be parsedCopyright © 2024 Atlassian. All rights reserved.