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 © 2015. All rights reserved.