com.espertech.esper.core
Enum StatementLifecycleEvent.LifecycleEventType

java.lang.Object
  extended by java.lang.Enum<StatementLifecycleEvent.LifecycleEventType>
      extended by com.espertech.esper.core.StatementLifecycleEvent.LifecycleEventType
All Implemented Interfaces:
Serializable, Comparable<StatementLifecycleEvent.LifecycleEventType>
Enclosing class:
StatementLifecycleEvent

public static enum StatementLifecycleEvent.LifecycleEventType
extends Enum<StatementLifecycleEvent.LifecycleEventType>

Event types.


Enum Constant Summary
CREATE
          Statement created.
LISTENER_ADD
          listener added
LISTENER_REMOVE
          Listener removed.
LISTENER_REMOVE_ALL
          All listeners removed.
STATECHANGE
          Statement state change.
 
Method Summary
static StatementLifecycleEvent.LifecycleEventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static StatementLifecycleEvent.LifecycleEventType[] 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

CREATE

public static final StatementLifecycleEvent.LifecycleEventType CREATE
Statement created.


STATECHANGE

public static final StatementLifecycleEvent.LifecycleEventType STATECHANGE
Statement state change.


LISTENER_ADD

public static final StatementLifecycleEvent.LifecycleEventType LISTENER_ADD
listener added


LISTENER_REMOVE

public static final StatementLifecycleEvent.LifecycleEventType LISTENER_REMOVE
Listener removed.


LISTENER_REMOVE_ALL

public static final StatementLifecycleEvent.LifecycleEventType LISTENER_REMOVE_ALL
All listeners removed.

Method Detail

values

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

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

valueOf

public static StatementLifecycleEvent.LifecycleEventType 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

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com