public static enum Datasource.State extends java.lang.Enum<Datasource.State>
| Enum Constant and Description |
|---|
INVALID
The whole
DsContext is created but this datasources is not yet refreshed |
NOT_INITIALIZED
Datasource is just created
|
VALID
Datasource is refreshed and may contain data
|
| Modifier and Type | Method and Description |
|---|---|
static Datasource.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Datasource.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Datasource.State NOT_INITIALIZED
public static final Datasource.State INVALID
DsContext is created but this datasources is not yet refreshedpublic static final Datasource.State VALID
public static Datasource.State[] values()
for (Datasource.State c : Datasource.State.values()) System.out.println(c);
public static Datasource.State valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null