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