|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<IStoreBinding.State>
com.neeve.ods.IStoreBinding.State
public static enum IStoreBinding.State
Enumerates the different binding states
Enum Constant Summary | |
---|---|
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 |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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.
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |