org.ow2.jonas.lib.jmbeans
Enum J2EEServer.State

java.lang.Object
  extended by java.lang.Enum<J2EEServer.State>
      extended by org.ow2.jonas.lib.jmbeans.J2EEServer.State
All Implemented Interfaces:
Serializable, Comparable<J2EEServer.State>
Enclosing class:
J2EEServer

public static enum J2EEServer.State
extends Enum<J2EEServer.State>


Enum Constant Summary
FAILED
           
RUNNING
           
STARTING
           
STOPPED
           
STOPPING
           
 
Method Summary
static J2EEServer.State valueOf(String name)
          Returns the enum constant of this type with the specified name.
static J2EEServer.State[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STARTING

public static final J2EEServer.State STARTING

RUNNING

public static final J2EEServer.State RUNNING

STOPPING

public static final J2EEServer.State STOPPING

STOPPED

public static final J2EEServer.State STOPPED

FAILED

public static final J2EEServer.State FAILED
Method Detail

values

public static final J2EEServer.State[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(J2EEServer.State c : J2EEServer.State.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static J2EEServer.State 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


Copyright © 2008 OW2 Consortium. All Rights Reserved.