Enum Class FlowStatus
- All Implemented Interfaces:
Serializable, Comparable<FlowStatus>, Constable
Represents the lifecycle status of a Flow execution.
Use FlowInfo.getStatus() for a described Flow or FlowResult.getStatus() for a
client wait or SubFlow condition result.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Flow was canceled.The Flow completed successfully.The Flow continued as a new execution.The Flow failed.The Flow execution can still make progress.Reserved for backend hard-timeout reporting.The Flow was forcibly terminated. -
Method Summary
Modifier and TypeMethodDescriptionstatic FlowStatusReturns the enum constant of this class with the specified name.static FlowStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RUNNING
The Flow execution can still make progress. -
COMPLETED
The Flow completed successfully. -
FAILED
The Flow failed. -
CANCELED
The Flow was canceled. -
TERMINATED
The Flow was forcibly terminated. -
SERVER_SIDE_TIMEOUT_INTERNAL_ONLY
Reserved for backend hard-timeout reporting. Applications must not depend on this status. -
CONTINUED_AS_NEW
The Flow continued as a new execution.
-
-
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
-