Enum Class TimeTravelStepMethod

java.lang.Object
java.lang.Enum<TimeTravelStepMethod>
io.superdurable.dex.TimeTravelStepMethod
All Implemented Interfaces:
Serializable, Comparable<TimeTravelStepMethod>, Constable

public enum TimeTravelStepMethod extends Enum<TimeTravelStepMethod>
Selects the Step method used as a TimeTravelType.STEP_EXECUTION_ID boundary.

Use WAIT_FOR to rerun WaitFor and everything after it. Use EXECUTE to keep the selected WaitFor result and rerun Execute and everything after it.

  • Enum Constant Details

    • WAIT_FOR

      public static final TimeTravelStepMethod WAIT_FOR
      Resumes before the selected Step execution's WaitFor method.
    • EXECUTE

      public static final TimeTravelStepMethod EXECUTE
      Resumes before the selected Step execution's Execute method.
  • Method Details

    • values

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