org.oddjob.jmx
Enum ClientBase.WhyStop
java.lang.Object
java.lang.Enum<ClientBase.WhyStop>
org.oddjob.jmx.ClientBase.WhyStop
- All Implemented Interfaces:
- Serializable, Comparable<ClientBase.WhyStop>
- Enclosing class:
- ClientBase
protected static enum ClientBase.WhyStop
- extends Enum<ClientBase.WhyStop>
STOP_REQUEST
public static final ClientBase.WhyStop STOP_REQUEST
SERVER_STOPPED
public static final ClientBase.WhyStop SERVER_STOPPED
HEARTBEAT_FAILURE
public static final ClientBase.WhyStop HEARTBEAT_FAILURE
values
public static ClientBase.WhyStop[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ClientBase.WhyStop c : ClientBase.WhyStop.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ClientBase.WhyStop valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null