org.jboss.soa.esb.listeners
Enum GpListener.State

java.lang.Object
  extended by java.lang.Enum<GpListener.State>
      extended by org.jboss.soa.esb.listeners.GpListener.State
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GpListener.State>
Enclosing class:
GpListener

public static enum GpListener.State
extends java.lang.Enum<GpListener.State>


Enum Constant Summary
Done_OK
           
Exception_thrown
           
Loading_parameters
           
Running
           
Shutting_down
           
 
Method Summary
 int getCompletionCode()
           
 java.lang.Exception getException()
           
static GpListener.State valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GpListener.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

Loading_parameters

public static final GpListener.State Loading_parameters

Running

public static final GpListener.State Running

Shutting_down

public static final GpListener.State Shutting_down

Done_OK

public static final GpListener.State Done_OK

Exception_thrown

public static final GpListener.State Exception_thrown
Method Detail

values

public static final GpListener.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(GpListener.State c : GpListener.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 GpListener.State valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getCompletionCode

public int getCompletionCode()

getException

public java.lang.Exception getException()