public static enum EmbeddedDatasetManagerBuilder.FileMode extends java.lang.Enum<EmbeddedDatasetManagerBuilder.FileMode>
Enum Constant and Description |
---|
NEW
Instantiate a fresh persistent storage instance.
|
OVERWRITE
Destroy the existing instance, if one is found, and create a new one.
|
REOPEN
Reopen an existing instance.
|
REOPEN_OR_NEW
Reopen the existing instance, if one is found, or create a new one.
|
Modifier and Type | Method and Description |
---|---|
static EmbeddedDatasetManagerBuilder.FileMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EmbeddedDatasetManagerBuilder.FileMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmbeddedDatasetManagerBuilder.FileMode NEW
public static final EmbeddedDatasetManagerBuilder.FileMode REOPEN
public static final EmbeddedDatasetManagerBuilder.FileMode OVERWRITE
public static final EmbeddedDatasetManagerBuilder.FileMode REOPEN_OR_NEW
public static EmbeddedDatasetManagerBuilder.FileMode[] values()
for (EmbeddedDatasetManagerBuilder.FileMode c : EmbeddedDatasetManagerBuilder.FileMode.values()) System.out.println(c);
public static EmbeddedDatasetManagerBuilder.FileMode 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