Enum KafkaEndpointBuilderFactory.PollOnError
- java.lang.Object
-
- java.lang.Enum<KafkaEndpointBuilderFactory.PollOnError>
-
- org.apache.camel.builder.endpoint.dsl.KafkaEndpointBuilderFactory.PollOnError
-
- All Implemented Interfaces:
Serializable
,Comparable<KafkaEndpointBuilderFactory.PollOnError>
- Enclosing interface:
- KafkaEndpointBuilderFactory
public static enum KafkaEndpointBuilderFactory.PollOnError extends Enum<KafkaEndpointBuilderFactory.PollOnError>
Proxy enum fororg.apache.camel.component.kafka.PollOnError
enum.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISCARD
ERROR_HANDLER
RECONNECT
RETRY
STOP
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KafkaEndpointBuilderFactory.PollOnError
valueOf(String name)
Returns the enum constant of this type with the specified name.static KafkaEndpointBuilderFactory.PollOnError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISCARD
public static final KafkaEndpointBuilderFactory.PollOnError DISCARD
-
ERROR_HANDLER
public static final KafkaEndpointBuilderFactory.PollOnError ERROR_HANDLER
-
RECONNECT
public static final KafkaEndpointBuilderFactory.PollOnError RECONNECT
-
RETRY
public static final KafkaEndpointBuilderFactory.PollOnError RETRY
-
STOP
public static final KafkaEndpointBuilderFactory.PollOnError STOP
-
-
Method Detail
-
values
public static KafkaEndpointBuilderFactory.PollOnError[] 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 (KafkaEndpointBuilderFactory.PollOnError c : KafkaEndpointBuilderFactory.PollOnError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KafkaEndpointBuilderFactory.PollOnError 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
-
-