Enum ErrorOccurrence
- java.lang.Object
-
- java.lang.Enum<ErrorOccurrence>
-
- io.siddhi.core.util.error.handler.util.ErrorOccurrence
-
- All Implemented Interfaces:
Serializable,Comparable<ErrorOccurrence>
public enum ErrorOccurrence extends Enum<ErrorOccurrence>
Denotes the point of an error occurrence. Used to identify the point to replay the collected event.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BEFORE_SOURCE_MAPPINGSTORE_ON_SINK_ERRORSTORE_ON_STREAM_ERRORSTORE_ON_TABLE_ADDSTORE_ON_TABLE_CONTAINSSTORE_ON_TABLE_DELETESTORE_ON_TABLE_FINDSTORE_ON_TABLE_UPDATESTORE_ON_TABLE_UPDATE_OR_ADD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorOccurrencevalueOf(String name)Returns the enum constant of this type with the specified name.static ErrorOccurrence[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BEFORE_SOURCE_MAPPING
public static final ErrorOccurrence BEFORE_SOURCE_MAPPING
-
STORE_ON_SINK_ERROR
public static final ErrorOccurrence STORE_ON_SINK_ERROR
-
STORE_ON_STREAM_ERROR
public static final ErrorOccurrence STORE_ON_STREAM_ERROR
-
STORE_ON_TABLE_ADD
public static final ErrorOccurrence STORE_ON_TABLE_ADD
-
STORE_ON_TABLE_FIND
public static final ErrorOccurrence STORE_ON_TABLE_FIND
-
STORE_ON_TABLE_DELETE
public static final ErrorOccurrence STORE_ON_TABLE_DELETE
-
STORE_ON_TABLE_UPDATE
public static final ErrorOccurrence STORE_ON_TABLE_UPDATE
-
STORE_ON_TABLE_UPDATE_OR_ADD
public static final ErrorOccurrence STORE_ON_TABLE_UPDATE_OR_ADD
-
STORE_ON_TABLE_CONTAINS
public static final ErrorOccurrence STORE_ON_TABLE_CONTAINS
-
-
Method Detail
-
values
public static ErrorOccurrence[] 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 (ErrorOccurrence c : ErrorOccurrence.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrorOccurrence 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
-
-