public enum BuildOrder extends Enum<BuildOrder>
Modifier and Type | Method and Description |
---|---|
static Optional<BuildOrder> |
fromString(String value) |
static BuildOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuildOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuildOrder NEWEST
public static final BuildOrder OLDEST
public static final BuildOrder STATE
public static BuildOrder[] values()
for (BuildOrder c : BuildOrder.values()) System.out.println(c);
public static BuildOrder 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 nullpublic static Optional<BuildOrder> fromString(@Nullable String value)
Copyright © 2022 Atlassian. All rights reserved.