public enum RemonState extends java.lang.Enum<RemonState>
Enum Constant and Description |
---|
CLOSE |
COMPLETE |
CONNECT |
EXIT |
FAIL |
INIT |
WAIT |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getState() |
void |
setState(java.lang.String state) |
static RemonState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RemonState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RemonState INIT
public static final RemonState WAIT
public static final RemonState CONNECT
public static final RemonState COMPLETE
public static final RemonState FAIL
public static final RemonState EXIT
public static final RemonState CLOSE
public static RemonState[] values()
for (RemonState c : RemonState.values()) System.out.println(c);
public static RemonState 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 java.lang.String getState()
public void setState(java.lang.String state)