public static enum Interruptible.State extends java.lang.Enum<Interruptible.State>
Enum Constant and Description |
---|
INTERRUPTED |
NORMAL |
SHUTTING_DOWN |
Modifier and Type | Method and Description |
---|---|
static Interruptible.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Interruptible.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Interruptible.State NORMAL
public static final Interruptible.State INTERRUPTED
public static final Interruptible.State SHUTTING_DOWN
public static Interruptible.State[] values()
for (Interruptible.State c : Interruptible.State.values()) System.out.println(c);
public static Interruptible.State 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 nullCopyright © 2009-2022 The Apache Software Foundation