Enum Class Outcome

java.lang.Object
java.lang.Enum<Outcome>
com.patbaumgartner.spring.migrator.core.Outcome
All Implemented Interfaces:
Serializable, Comparable<Outcome>, Constable

public enum Outcome extends Enum<Outcome>
What the migrator decided to do about a deprecated property it found.
  • Enum Constant Details

    • MIGRATED

      public static final Outcome MIGRATED
      The key was rewritten to its replacement, or would be when not running dry.
    • MANUAL

      public static final Outcome MANUAL
      A replacement exists but applying it automatically is not provably safe, so the key was left untouched and reported instead.
    • UNSUPPORTED

      public static final Outcome UNSUPPORTED
      The property is deprecated and the metadata names no replacement.
  • Method Details

    • values

      public static Outcome[] 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

      public static Outcome valueOf(String name)
      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 name
      NullPointerException - if the argument is null