public static enum MessageBusBinding.State extends Enum<MessageBusBinding.State>
Enum Constant and Description |
---|
Closed
Indicates that a binding has been closed.
|
Closing
Indicates that a binding is in the process of being closed.
|
Failed
Indicates that a binding has failed.
|
Open
Indicates that a binding is open and ready for operation.
|
Modifier and Type | Method and Description |
---|---|
static MessageBusBinding.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageBusBinding.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageBusBinding.State Open
public static final MessageBusBinding.State Closing
A binding transitions to this state when a close has been initiated by the user.
public static final MessageBusBinding.State Failed
A binding transitions to this state when it fails and before it
dispatches the failure event. This state can only be set in bindings
that supports failure i.e. if the MessageBusBinding.canFail()
returns true.
public static final MessageBusBinding.State Closed
A binding transitions to this state when closed by the user.
public static MessageBusBinding.State[] values()
for (MessageBusBinding.State c : MessageBusBinding.State.values()) System.out.println(c);
public static MessageBusBinding.State valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 Neeve Research, LLC. All Rights Reserved.