public enum CommandType extends Enum<CommandType>
| Modifier and Type | Field and Description |
|---|---|
static int |
APPLICATION
Default application command type if no other positive type value is provided.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isAdmin(int value) |
static boolean |
isApplication(int value) |
static CommandType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final int APPLICATION
public static CommandType[] values()
for (CommandType c : CommandType.values()) System.out.println(c);
public static CommandType 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 nullpublic static boolean isAdmin(int value)
public static boolean isApplication(int value)
Copyright © 2020 tools4j.org (Marco Terzer, Anton Anufriev). All Rights Reserved.