Enum BusState
- All Implemented Interfaces:
Serializable,Comparable<BusState>
Lifecycle state of an event bus.
- CREATING: Bus creation is in progress.
- CREATE_FAILED: Bus creation failed; see StateReason. The bus cannot be recovered or recreated in place: delete it with DeleteEventBus, then create a new bus.
- ACTIVE: Bus is fully operational and can accept events.
- UPDATING: Bus update is in progress.
- UPDATE_FAILED: Bus update failed; the bus remains operational with its previous configuration.
- DELETING: Bus deletion is actively in progress.
- DELETE_FAILED: Bus deletion failed; see StateReason. Retry DeleteEventBus after removing subscribers and event sources.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic BusStateUse this in place of valueOf to convert the raw string returned by the service into the enum value.toString()static BusStateReturns the enum constant of this type with the specified name.static BusState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CREATING
-
CREATE_FAILED
-
UPDATING
-
UPDATE_FAILED
-
DELETING
-
ACTIVE
-
DELETE_FAILED
-
UNKNOWN_TO_SDK_VERSION
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
toString
-
fromValue
-
knownValues
-