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

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

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

Hook events for Bonita V4.


Enum Constant Summary
automaticOnEnter
           
taskOnCancel
           
taskOnFinish
           
taskOnReady
           
taskOnResume
           
taskOnStart
           
taskOnSuspend
           
 
Field Summary
static java.util.List<HookDefinition.Event> TASK_EVENTS
           
 
Method Summary
 java.lang.String toString()
           
static HookDefinition.Event valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static HookDefinition.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, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

taskOnReady

public static final HookDefinition.Event taskOnReady

taskOnStart

public static final HookDefinition.Event taskOnStart

taskOnFinish

public static final HookDefinition.Event taskOnFinish

taskOnCancel

public static final HookDefinition.Event taskOnCancel

taskOnSuspend

public static final HookDefinition.Event taskOnSuspend

taskOnResume

public static final HookDefinition.Event taskOnResume

automaticOnEnter

public static final HookDefinition.Event automaticOnEnter
Field Detail

TASK_EVENTS

public static final java.util.List<HookDefinition.Event> TASK_EVENTS
Method Detail

values

public static final HookDefinition.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(HookDefinition.Event c : HookDefinition.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 HookDefinition.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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<HookDefinition.Event>


Copyright © 2008 OW2 Consortium. All Rights Reserved.