org.ow2.bonita.facade.def.element
Enum HookDef.Event

java.lang.Object
  extended by java.lang.Enum<HookDef.Event>
      extended by org.ow2.bonita.facade.def.element.HookDef.Event
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<HookDef.Event>
Enclosing interface:
HookDef

public static enum HookDef.Event
extends java.lang.Enum<HookDef.Event>


Enum Constant Summary
onCanceled
           
onDeadline
           
onExecuting
           
onFinished
           
onReady
           
 
Method Summary
static HookDef.Event valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static HookDef.Event[] 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

onReady

public static final HookDef.Event onReady

onExecuting

public static final HookDef.Event onExecuting

onFinished

public static final HookDef.Event onFinished

onDeadline

public static final HookDef.Event onDeadline

onCanceled

public static final HookDef.Event onCanceled
Method Detail

values

public static final HookDef.Event[] 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(HookDef.Event c : HookDef.Event.values())
        System.out.println(c);

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

valueOf

public static HookDef.Event 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