Enum Class EventStreamState
- All Implemented Interfaces:
Serializable
,Comparable<EventStreamState>
,Constable
Represents the current state an Event Stream
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEvent Stream is disabled.One or more stages are faulted.Event Stream was started, but Gateway is inactive.Event Stream successfully started, source will be subscribed and receiving events.Event Stream is starting up.Event Stream hasn't been started yet or was stopped.Event Stream is stopping.Trial has expired, Event Stream will not start. -
Method Summary
Modifier and TypeMethodDescriptionstatic EventStreamState
Returns the enum constant of this class with the specified name.static EventStreamState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STOPPED
Event Stream hasn't been started yet or was stopped. No events will be emitted. -
STOPPING
Event Stream is stopping. Waiting for events to finish processing. -
TRIAL_EXPIRED
Trial has expired, Event Stream will not start. -
STARTING_UP
Event Stream is starting up. Source will not be subscribed, so no events will be emitted. -
RUNNING
Event Stream successfully started, source will be subscribed and receiving events. -
DISABLED
Event Stream is disabled. Source will not be subscribed, so no events will ever be emitted. -
INACTIVE
Event Stream was started, but Gateway is inactive. Source will not be subscribed, so no events will be emitted. -
FAULTED
One or more stages are faulted. Source will not be subscribed, so no events will be emitted.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-