Enum EventuateKafkaConsumerState
- java.lang.Object
-
- java.lang.Enum<EventuateKafkaConsumerState>
-
- io.eventuate.messaging.kafka.basic.consumer.EventuateKafkaConsumerState
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EventuateKafkaConsumerState>
public enum EventuateKafkaConsumerState extends java.lang.Enum<EventuateKafkaConsumerState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATEDFAILEDFAILED_TO_STARTMESSAGE_HANDLING_FAILEDSTARTEDSTOPPED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EventuateKafkaConsumerStatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EventuateKafkaConsumerState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MESSAGE_HANDLING_FAILED
public static final EventuateKafkaConsumerState MESSAGE_HANDLING_FAILED
-
STARTED
public static final EventuateKafkaConsumerState STARTED
-
FAILED_TO_START
public static final EventuateKafkaConsumerState FAILED_TO_START
-
STOPPED
public static final EventuateKafkaConsumerState STOPPED
-
FAILED
public static final EventuateKafkaConsumerState FAILED
-
CREATED
public static final EventuateKafkaConsumerState CREATED
-
-
Method Detail
-
values
public static EventuateKafkaConsumerState[] 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 (EventuateKafkaConsumerState c : EventuateKafkaConsumerState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventuateKafkaConsumerState valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-