public enum CommandType extends Enum<CommandType>
| Enum Constant and Description |
|---|
AUTHENTICATE |
EXISTS |
REMOVE_SAFELY |
REMOVE_USER |
SET_PASS |
TRY_REGISTER |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static CommandType |
fromString(String commandType) |
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 CommandType AUTHENTICATE
public static final CommandType EXISTS
public static final CommandType SET_PASS
public static final CommandType TRY_REGISTER
public static final CommandType REMOVE_USER
public static final CommandType REMOVE_SAFELY
public static final CommandType UNKNOWN
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 CommandType fromString(String commandType)
Copyright © 2016 teletronics.ae. All rights reserved.