public static enum Command.Priority extends Enum<Command.Priority>
Modifier and Type | Method and Description |
---|---|
static Command.Priority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Command.Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Command.Priority NORMAL
public static final Command.Priority IMMEDIATE
public static Command.Priority[] values()
for (Command.Priority c : Command.Priority.values()) System.out.println(c);
public static Command.Priority 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 © 2005–2022 The Apache Software Foundation. All rights reserved.