public static enum ChannelStatus.State extends Enum<ChannelStatus.State>
INITIALIZING
state and ends in the DESTROYED
or
ERROR
state.Enum Constant and Description |
---|
DESTROYED
The channel has been destroyed.
|
DISABLED
The channel is disabled.
|
DISCONNECTED
The channel is disconnected.
|
ERROR
The channel does not operate correctly.
|
INITIALIZING
The channel has just been created and is still being initialized.
|
OK
The channel is operating normally.
|
Modifier and Type | Method and Description |
---|---|
static ChannelStatus.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelStatus.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelStatus.State INITIALIZING
public static final ChannelStatus.State OK
public static final ChannelStatus.State DISABLED
OK
state without
user intervention.public static final ChannelStatus.State DISCONNECTED
public static final ChannelStatus.State ERROR
public static final ChannelStatus.State DESTROYED
INITIALIZING
state.public static ChannelStatus.State[] values()
for (ChannelStatus.State c : ChannelStatus.State.values()) System.out.println(c);
public static ChannelStatus.State valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2011–2017 aquenos GmbH. All rights reserved.