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