public static enum CollectionDatasource.RefreshMode extends java.lang.Enum<CollectionDatasource.RefreshMode>
Enum Constant and Description |
---|
ALWAYS
Datasource will load data for each refresh
|
NEVER
Datasource will never load data from database
|
Modifier and Type | Method and Description |
---|---|
static CollectionDatasource.RefreshMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CollectionDatasource.RefreshMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionDatasource.RefreshMode ALWAYS
public static final CollectionDatasource.RefreshMode NEVER
public static CollectionDatasource.RefreshMode[] values()
for (CollectionDatasource.RefreshMode c : CollectionDatasource.RefreshMode.values()) System.out.println(c);
public static CollectionDatasource.RefreshMode 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