Package google.registry.model.common
Enum DatabaseMigrationStateSchedule.ReplayDirection
- java.lang.Object
-
- java.lang.Enum<DatabaseMigrationStateSchedule.ReplayDirection>
-
- google.registry.model.common.DatabaseMigrationStateSchedule.ReplayDirection
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DatabaseMigrationStateSchedule.ReplayDirection>
- Enclosing class:
- DatabaseMigrationStateSchedule
public static enum DatabaseMigrationStateSchedule.ReplayDirection extends java.lang.Enum<DatabaseMigrationStateSchedule.ReplayDirection>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATASTORE_TO_SQL
NO_REPLAY
SQL_TO_DATASTORE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DatabaseMigrationStateSchedule.ReplayDirection
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DatabaseMigrationStateSchedule.ReplayDirection[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_REPLAY
public static final DatabaseMigrationStateSchedule.ReplayDirection NO_REPLAY
-
DATASTORE_TO_SQL
public static final DatabaseMigrationStateSchedule.ReplayDirection DATASTORE_TO_SQL
-
SQL_TO_DATASTORE
public static final DatabaseMigrationStateSchedule.ReplayDirection SQL_TO_DATASTORE
-
-
Method Detail
-
values
public static DatabaseMigrationStateSchedule.ReplayDirection[] 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 (DatabaseMigrationStateSchedule.ReplayDirection c : DatabaseMigrationStateSchedule.ReplayDirection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DatabaseMigrationStateSchedule.ReplayDirection valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-