public static enum DataSystemConfiguration.DataStoreMode extends java.lang.Enum<DataSystemConfiguration.DataStoreMode>
This enum can be extended without a major version. Code should provide this value in configuration, but it should not use the enum itself, for example, in a switch-case.
| Enum Constant and Description |
|---|
READ_ONLY
The data system will only read from the persistent store.
|
READ_WRITE
The data system can read from, and write to, the persistent store.
|
| Modifier and Type | Method and Description |
|---|---|
static DataSystemConfiguration.DataStoreMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataSystemConfiguration.DataStoreMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataSystemConfiguration.DataStoreMode READ_ONLY
public static final DataSystemConfiguration.DataStoreMode READ_WRITE
public static DataSystemConfiguration.DataStoreMode[] values()
for (DataSystemConfiguration.DataStoreMode c : DataSystemConfiguration.DataStoreMode.values()) System.out.println(c);
public static DataSystemConfiguration.DataStoreMode 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