Enum IncomingEventState
- java.lang.Object
-
- java.lang.Enum<IncomingEventState>
-
- org.odpi.openmetadata.repositoryservices.connectors.openmetadatatopic.IncomingEventState
-
- All Implemented Interfaces:
Serializable,Comparable<IncomingEventState>
public enum IncomingEventState extends Enum<IncomingEventState>
The state of an event that was received from a connector
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATEDThe event has been created but has not yet been distributed to all topic listeners.DISTRIBUTED_TO_ALL_TOPIC_LISTENERSThe event has been distributed to all topic listeners.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IncomingEventStatevalueOf(String name)Returns the enum constant of this type with the specified name.static IncomingEventState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATED
public static final IncomingEventState CREATED
The event has been created but has not yet been distributed to all topic listeners.
-
DISTRIBUTED_TO_ALL_TOPIC_LISTENERS
public static final IncomingEventState DISTRIBUTED_TO_ALL_TOPIC_LISTENERS
The event has been distributed to all topic listeners.
-
-
Method Detail
-
values
public static IncomingEventState[] 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 (IncomingEventState c : IncomingEventState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IncomingEventState 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
-
-