Package liquibase.serializer
Enum LiquibaseSerializable.SerializationType
- java.lang.Object
-
- java.lang.Enum<LiquibaseSerializable.SerializationType>
-
- liquibase.serializer.LiquibaseSerializable.SerializationType
-
- All Implemented Interfaces:
Serializable
,Comparable<LiquibaseSerializable.SerializationType>
- Enclosing interface:
- LiquibaseSerializable
public static enum LiquibaseSerializable.SerializationType extends Enum<LiquibaseSerializable.SerializationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIRECT_VALUE
NAMED_FIELD
NESTED_OBJECT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LiquibaseSerializable.SerializationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static LiquibaseSerializable.SerializationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NAMED_FIELD
public static final LiquibaseSerializable.SerializationType NAMED_FIELD
-
NESTED_OBJECT
public static final LiquibaseSerializable.SerializationType NESTED_OBJECT
-
DIRECT_VALUE
public static final LiquibaseSerializable.SerializationType DIRECT_VALUE
-
-
Method Detail
-
values
public static LiquibaseSerializable.SerializationType[] 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 (LiquibaseSerializable.SerializationType c : LiquibaseSerializable.SerializationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LiquibaseSerializable.SerializationType 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
-
-