public enum SqrlCommand extends java.lang.Enum<SqrlCommand>
| Enum Constant and Description |
|---|
DISABLE |
ENABLE |
IDENT |
QUERY |
REMOVE |
| Modifier and Type | Method and Description |
|---|---|
static SqrlCommand |
from(java.lang.String cmd) |
static SqrlCommand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SqrlCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqrlCommand QUERY
public static final SqrlCommand IDENT
public static final SqrlCommand DISABLE
public static final SqrlCommand ENABLE
public static final SqrlCommand REMOVE
public static SqrlCommand[] values()
for (SqrlCommand c : SqrlCommand.values()) System.out.println(c);
public static SqrlCommand valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static SqrlCommand from(java.lang.String cmd)