public static enum Coprocessor.State extends Enum<Coprocessor.State>
Enum Constant and Description |
---|
ACTIVE |
INSTALLED |
STARTING |
STOPPED |
STOPPING |
UNINSTALLED |
Modifier and Type | Method and Description |
---|---|
static Coprocessor.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Coprocessor.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Coprocessor.State UNINSTALLED
public static final Coprocessor.State INSTALLED
public static final Coprocessor.State STARTING
public static final Coprocessor.State ACTIVE
public static final Coprocessor.State STOPPING
public static final Coprocessor.State STOPPED
public static Coprocessor.State[] values()
for (Coprocessor.State c : Coprocessor.State.values()) System.out.println(c);
public static Coprocessor.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 © 2007-2016 The Apache Software Foundation. All Rights Reserved.