public enum ResourcePriority extends Enum<ResourcePriority>
| Enum Constant and Description |
|---|
HIGH |
LOW |
MEDIUM |
VERY_HIGH |
VERY_LOW |
| Modifier and Type | Method and Description |
|---|---|
static ResourcePriority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourcePriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourcePriority VERY_LOW
public static final ResourcePriority LOW
public static final ResourcePriority MEDIUM
public static final ResourcePriority HIGH
public static final ResourcePriority VERY_HIGH
public static ResourcePriority[] values()
for (ResourcePriority c : ResourcePriority.values()) System.out.println(c);
public static ResourcePriority 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 nullCopyright © 2020. All rights reserved.