Package io.siddhi.core.event
Enum ComplexEvent.Type
- java.lang.Object
-
- java.lang.Enum<ComplexEvent.Type>
-
- io.siddhi.core.event.ComplexEvent.Type
-
- All Implemented Interfaces:
Serializable,Comparable<ComplexEvent.Type>
- Enclosing interface:
- ComplexEvent
public static enum ComplexEvent.Type extends Enum<ComplexEvent.Type>
Enums to represent Event.Type
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ComplexEvent.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static ComplexEvent.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CURRENT
public static final ComplexEvent.Type CURRENT
-
EXPIRED
public static final ComplexEvent.Type EXPIRED
-
TIMER
public static final ComplexEvent.Type TIMER
-
RESET
public static final ComplexEvent.Type RESET
-
-
Method Detail
-
values
public static ComplexEvent.Type[] 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 (ComplexEvent.Type c : ComplexEvent.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ComplexEvent.Type 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 nameNullPointerException- if the argument is null
-
-