public static enum CommonConnectorConfig.EventProcessingFailureHandlingMode extends Enum<CommonConnectorConfig.EventProcessingFailureHandlingMode> implements EnumeratedValue
| Enum Constant and Description |
|---|
FAIL
An exception indicating the problematic events and their position is raised, causing the connector to be stopped.
|
IGNORE
Problematic events will be skipped - for transitional period only, scheduled to be removed.
|
SKIP
Problematic events will be skipped.
|
WARN
The position of problematic events will be logged and events will be skipped.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
OBSOLETE_NAME_FOR_SKIP_FAILURE_HANDLING |
private String |
value |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue()
Returns the string representation of this value
|
static CommonConnectorConfig.EventProcessingFailureHandlingMode |
parse(String value)
Determine if the supplied value is one of the predefined options.
|
static CommonConnectorConfig.EventProcessingFailureHandlingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommonConnectorConfig.EventProcessingFailureHandlingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommonConnectorConfig.EventProcessingFailureHandlingMode SKIP
public static final CommonConnectorConfig.EventProcessingFailureHandlingMode WARN
public static final CommonConnectorConfig.EventProcessingFailureHandlingMode FAIL
public static final CommonConnectorConfig.EventProcessingFailureHandlingMode IGNORE
public static final String OBSOLETE_NAME_FOR_SKIP_FAILURE_HANDLING
private final String value
public static CommonConnectorConfig.EventProcessingFailureHandlingMode[] values()
for (CommonConnectorConfig.EventProcessingFailureHandlingMode c : CommonConnectorConfig.EventProcessingFailureHandlingMode.values()) System.out.println(c);
public static CommonConnectorConfig.EventProcessingFailureHandlingMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
EnumeratedValuegetValue in interface EnumeratedValuepublic static CommonConnectorConfig.EventProcessingFailureHandlingMode parse(String value)
value - the configuration property value; may not be nullCopyright © 2021 JBoss by Red Hat. All rights reserved.