public static enum SoiCommand.TYPE extends java.lang.Enum<SoiCommand.TYPE>
Modifier and Type | Method and Description |
---|---|
long |
value() |
static SoiCommand.TYPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoiCommand.TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoiCommand.TYPE REQUEST
public static final SoiCommand.TYPE SUCCESS
public static final SoiCommand.TYPE ERROR
public static SoiCommand.TYPE[] values()
for (SoiCommand.TYPE c : SoiCommand.TYPE.values()) System.out.println(c);
public static SoiCommand.TYPE 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 long value()