protected static enum TranslatingSuspendableChannel.Readiness extends Enum<TranslatingSuspendableChannel.Readiness>
Enum Constant and Description |
---|
ALWAYS
The channel is ready, regardless of the underlying channel status.
|
NEVER
The channel is not ready even if the underlying channel is.
|
OKAY
The channel is ready if the underlying channel is ready.
|
Modifier and Type | Method and Description |
---|---|
static TranslatingSuspendableChannel.Readiness |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TranslatingSuspendableChannel.Readiness[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TranslatingSuspendableChannel.Readiness ALWAYS
public static final TranslatingSuspendableChannel.Readiness OKAY
public static final TranslatingSuspendableChannel.Readiness NEVER
public static TranslatingSuspendableChannel.Readiness[] values()
for (TranslatingSuspendableChannel.Readiness c : TranslatingSuspendableChannel.Readiness.values()) System.out.println(c);
public static TranslatingSuspendableChannel.Readiness 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 © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.