public enum CommandCriterion extends Enum<CommandCriterion>
CommandDescriptor
. CommandAPI.getAllCommands(int, int, CommandCriterion)
and $
CommandAPI.getUserCommands(int, int, CommandCriterion)
indicate in what order we should return the list of the results.Modifier and Type | Method and Description |
---|---|
static CommandCriterion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandCriterion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandCriterion NAME_ASC
public static final CommandCriterion NAME_DESC
public static CommandCriterion[] values()
for (CommandCriterion c : CommandCriterion.values()) System.out.println(c);
public static CommandCriterion 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 Bonitasoft S.A.. All rights reserved.