public enum DatabaseBridgeMode extends java.lang.Enum<DatabaseBridgeMode>
Enum Constant and Description |
---|
IDLE
When this mode is selected, the database-bridge should not execute updates to the database.
|
SAVE_DATA
When this mode is selected, the database-bridge should run queries to the database.
|
Modifier and Type | Method and Description |
---|---|
static DatabaseBridgeMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseBridgeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseBridgeMode SAVE_DATA
public static final DatabaseBridgeMode IDLE
public static DatabaseBridgeMode[] values()
for (DatabaseBridgeMode c : DatabaseBridgeMode.values()) System.out.println(c);
public static DatabaseBridgeMode 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