public enum WriteOperation extends Enum<WriteOperation>
Enum Constant and Description |
---|
DELETE |
INDEX |
SAVE |
SAVE_UNSAFELY |
Modifier and Type | Method and Description |
---|---|
abstract void |
execute(Database database,
State state)
Executes this write operation on the given
state within
the given database . |
static WriteOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WriteOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriteOperation SAVE
public static final WriteOperation SAVE_UNSAFELY
public static final WriteOperation DELETE
public static final WriteOperation INDEX
public static WriteOperation[] values()
for (WriteOperation c : WriteOperation.values()) System.out.println(c);
public static WriteOperation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018 PERFECT SENSE digital, LLC. All rights reserved.