org.oddjob.jmx
Enum ClientBase.WhyStop

java.lang.Object
  extended by java.lang.Enum<ClientBase.WhyStop>
      extended by org.oddjob.jmx.ClientBase.WhyStop
All Implemented Interfaces:
Serializable, Comparable<ClientBase.WhyStop>
Enclosing class:
ClientBase

protected static enum ClientBase.WhyStop
extends Enum<ClientBase.WhyStop>


Enum Constant Summary
HEARTBEAT_FAILURE
           
SERVER_STOPPED
           
STOP_REQUEST
           
 
Method Summary
static ClientBase.WhyStop valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ClientBase.WhyStop[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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