public enum ChannelStatus extends java.lang.Enum<ChannelStatus>
Enum Constant and Description |
---|
INVALID
Channel is invalid.
|
NORMAL
Channel is running
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static ChannelStatus |
retrieve(int value) |
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 NORMAL
public static final ChannelStatus INVALID
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 int getValue()
public static ChannelStatus retrieve(int value)