Enum Class TimeTravelType
- All Implemented Interfaces:
Serializable, Comparable<TimeTravelType>, Constable
Selects the historical point from which a Flow resumes in a new run.
Create TimeTravelOptions with the matching selector method for the chosen value.
STEP_EXECUTION_ID also requires a TimeTravelStepMethod.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionResumes at the beginning of the Flow execution.Resumes at a history event selected by timestamp.Resumes at a specific Step execution ID.Resumes at an occurrence of a Step type. -
Method Summary
Modifier and TypeMethodDescriptionstatic TimeTravelTypeReturns the enum constant of this class with the specified name.static TimeTravelType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BEGINNING
Resumes at the beginning of the Flow execution. -
HISTORY_EVENT_TIME
Resumes at a history event selected by timestamp. -
STEP_TYPE
Resumes at an occurrence of a Step type. -
STEP_EXECUTION_ID
Resumes at a specific Step execution ID.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-