Enum MigrationState

java.lang.Object
java.lang.Enum<MigrationState>
ac.simons.neo4j.migrations.core.MigrationState
All Implemented Interfaces:
Serializable, Comparable<MigrationState>

public enum MigrationState extends Enum<MigrationState>
State of a migration.
Since:
0.0.4
Author:
Michael J. Simons
  • Enum Constant Details

    • PENDING

      public static final MigrationState PENDING
      A pending migration (available as Java or Cypher-based migration)
    • APPLIED

      public static final MigrationState APPLIED
      A migration already applied
  • Method Details

    • values

      public static MigrationState[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static MigrationState 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 name
      NullPointerException - if the argument is null