net.esper.eql.spec
Enum OutputLimitSpec.DisplayLimit

java.lang.Object
  extended by java.lang.Enum<OutputLimitSpec.DisplayLimit>
      extended by net.esper.eql.spec.OutputLimitSpec.DisplayLimit
All Implemented Interfaces:
Serializable, Comparable<OutputLimitSpec.DisplayLimit>
Enclosing class:
OutputLimitSpec

public static enum OutputLimitSpec.DisplayLimit
extends Enum<OutputLimitSpec.DisplayLimit>

Enum controlling the type of output limiting.


Enum Constant Summary
ALL
          Output all events.
FIRST
          Output first event.
LAST
          Output last event.
 
Method Summary
static OutputLimitSpec.DisplayLimit valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OutputLimitSpec.DisplayLimit[] 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

FIRST

public static final OutputLimitSpec.DisplayLimit FIRST
Output first event.


LAST

public static final OutputLimitSpec.DisplayLimit LAST
Output last event.


ALL

public static final OutputLimitSpec.DisplayLimit ALL
Output all events.

Method Detail

values

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

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

valueOf

public static OutputLimitSpec.DisplayLimit 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