Package com.terracottatech.store.manager
Enum Class EmbeddedDatasetManagerBuilder.FileMode
java.lang.Object
java.lang.Enum<EmbeddedDatasetManagerBuilder.FileMode>
com.terracottatech.store.manager.EmbeddedDatasetManagerBuilder.FileMode
- All Implemented Interfaces:
Serializable
,Comparable<EmbeddedDatasetManagerBuilder.FileMode>
,Constable
- Enclosing interface:
- EmbeddedDatasetManagerBuilder
public static enum EmbeddedDatasetManagerBuilder.FileMode
extends Enum<EmbeddedDatasetManagerBuilder.FileMode>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInstantiate a fresh persistent storage instance.Destroy the existing instance, if one is found, and create a new one.Reopen an existing instance.Reopen the existing instance, if one is found, or create a new one. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEW
Instantiate a fresh persistent storage instance. If an instance exists already the operation will fail. -
REOPEN
Reopen an existing instance. If the directory is empty the operation will fail. -
OVERWRITE
Destroy the existing instance, if one is found, and create a new one. -
REOPEN_OR_NEW
Reopen the existing instance, if one is found, or create a new one.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-