org.yawlfoundation.yawl.engine.announcement
Enum YEngineEvent

java.lang.Object
  extended by java.lang.Enum<YEngineEvent>
      extended by org.yawlfoundation.yawl.engine.announcement.YEngineEvent
All Implemented Interfaces:
Serializable, Comparable<YEngineEvent>

public enum YEngineEvent
extends Enum<YEngineEvent>

An enum of the various event types that can be raised by the engine and passed to observer gateways and services

Author:
Michael Adams
Created/Last Date:
June 14, 2011

Enum Constant Summary
CASE_CANCELLED
           
CASE_COMPLETE
           
CASE_RESUMED
           
CASE_START
           
CASE_SUSPENDED
           
CASE_SUSPENDING
           
ENGINE_INIT
           
ITEM_ADD
           
ITEM_CANCEL
           
ITEM_STATUS
           
TIMER_EXPIRED
           
 
Method Summary
 boolean isBroadcast()
           
 String label()
           
static YEngineEvent valueOf(String name)
          Returns the enum constant of this type with the specified name.
static YEngineEvent[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ITEM_ADD

public static final YEngineEvent ITEM_ADD

ITEM_STATUS

public static final YEngineEvent ITEM_STATUS

ITEM_CANCEL

public static final YEngineEvent ITEM_CANCEL

CASE_START

public static final YEngineEvent CASE_START

CASE_COMPLETE

public static final YEngineEvent CASE_COMPLETE

CASE_CANCELLED

public static final YEngineEvent CASE_CANCELLED

CASE_SUSPENDING

public static final YEngineEvent CASE_SUSPENDING

CASE_SUSPENDED

public static final YEngineEvent CASE_SUSPENDED

CASE_RESUMED

public static final YEngineEvent CASE_RESUMED

TIMER_EXPIRED

public static final YEngineEvent TIMER_EXPIRED

ENGINE_INIT

public static final YEngineEvent ENGINE_INIT
Method Detail

values

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

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

valueOf

public static YEngineEvent 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
NullPointerException - if the argument is null

label

public String label()

isBroadcast

public boolean isBroadcast()


Copyright © 2004-2012 The YAWL Foundation.