Enum ErroneousEventType
- java.lang.Object
-
- java.lang.Enum<ErroneousEventType>
-
- io.siddhi.core.util.error.handler.util.ErroneousEventType
-
- All Implemented Interfaces:
Serializable,Comparable<ErroneousEventType>
public enum ErroneousEventType extends Enum<ErroneousEventType>
Denotes the Siddhi type of an erroneous event. Used for serialization and de-serialization purposes in theErrorStore.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLEX_EVENTEVENTEVENT_ARRAYEVENT_LISTPAYLOAD_STRINGREPLAYABLE_TABLE_RECORD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErroneousEventTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ErroneousEventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REPLAYABLE_TABLE_RECORD
public static final ErroneousEventType REPLAYABLE_TABLE_RECORD
-
COMPLEX_EVENT
public static final ErroneousEventType COMPLEX_EVENT
-
EVENT
public static final ErroneousEventType EVENT
-
EVENT_ARRAY
public static final ErroneousEventType EVENT_ARRAY
-
EVENT_LIST
public static final ErroneousEventType EVENT_LIST
-
PAYLOAD_STRING
public static final ErroneousEventType PAYLOAD_STRING
-
-
Method Detail
-
values
public static ErroneousEventType[] 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 (ErroneousEventType c : ErroneousEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErroneousEventType 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
-
-