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

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

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

Hook events used into Bonita V3 (mapping to hook events for Bonita V4).


Enum Constant Summary
afterTerminate
           
aftertStart
           
beforeStart
           
beforeTerminate
           
onCancel
           
onReady
           
 
Method Summary
static HookDefinition.Event getV4FromV3HookEventName(HookDefinition.V3Event event, boolean automaticActivity)
           
static HookDefinition.V3Event valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static HookDefinition.V3Event[] 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

beforeTerminate

public static final HookDefinition.V3Event beforeTerminate

afterTerminate

public static final HookDefinition.V3Event afterTerminate

beforeStart

public static final HookDefinition.V3Event beforeStart

aftertStart

public static final HookDefinition.V3Event aftertStart

onReady

public static final HookDefinition.V3Event onReady

onCancel

public static final HookDefinition.V3Event onCancel
Method Detail

values

public static final HookDefinition.V3Event[] 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.V3Event c : HookDefinition.V3Event.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.V3Event 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

getV4FromV3HookEventName

public static final HookDefinition.Event getV4FromV3HookEventName(HookDefinition.V3Event event,
                                                                  boolean automaticActivity)


Copyright © 2009 OW2 Consortium. All Rights Reserved.