Package de.caluga.morphium
Enum MorphiumConfig.CappedCheck
- java.lang.Object
-
- java.lang.Enum<MorphiumConfig.CappedCheck>
-
- de.caluga.morphium.MorphiumConfig.CappedCheck
-
- All Implemented Interfaces:
Serializable,Comparable<MorphiumConfig.CappedCheck>
- Enclosing class:
- MorphiumConfig
public static enum MorphiumConfig.CappedCheck extends Enum<MorphiumConfig.CappedCheck>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONVERT_EXISTING_ON_STARTUPCREATE_ON_STARTUPCREATE_ON_WRITE_NEW_COLNO_CHECKWARN_ON_STARTUP
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MorphiumConfig.CappedCheckvalueOf(String name)Returns the enum constant of this type with the specified name.static MorphiumConfig.CappedCheck[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_CHECK
public static final MorphiumConfig.CappedCheck NO_CHECK
-
WARN_ON_STARTUP
public static final MorphiumConfig.CappedCheck WARN_ON_STARTUP
-
CREATE_ON_STARTUP
public static final MorphiumConfig.CappedCheck CREATE_ON_STARTUP
-
CREATE_ON_WRITE_NEW_COL
public static final MorphiumConfig.CappedCheck CREATE_ON_WRITE_NEW_COL
-
CONVERT_EXISTING_ON_STARTUP
public static final MorphiumConfig.CappedCheck CONVERT_EXISTING_ON_STARTUP
-
-
Method Detail
-
values
public static MorphiumConfig.CappedCheck[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MorphiumConfig.CappedCheck c : MorphiumConfig.CappedCheck.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MorphiumConfig.CappedCheck valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-