public static enum IStoreBinding.State extends Enum<IStoreBinding.State>
Enum Constant and Description |
---|
Closed
Indicates that a binding has been closed.
|
Failed
Indicates that a binding has failed.
|
Open
Indicates that a binding is open and ready for operation.
|
Opening
Indicates that a binding is opening
|
Modifier and Type | Method and Description |
---|---|
static IStoreBinding.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IStoreBinding.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IStoreBinding.State Opening
public static final IStoreBinding.State Open
public static final IStoreBinding.State Failed
A binding transitions to this state when it fails and before it
dispatches the failure event (IStoreBindingFailedEvent
).
Operations performed on a failed will return with illegal state
exception.
public static final IStoreBinding.State Closed
A binding transitions to this state on closure.
public static IStoreBinding.State[] values()
for (IStoreBinding.State c : IStoreBinding.State.values()) System.out.println(c);
public static IStoreBinding.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.