Package com.microsoft.durabletask
Enum OrchestrationRuntimeStatus
- java.lang.Object
-
- java.lang.Enum<OrchestrationRuntimeStatus>
-
- com.microsoft.durabletask.OrchestrationRuntimeStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<OrchestrationRuntimeStatus>
public enum OrchestrationRuntimeStatus extends java.lang.Enum<OrchestrationRuntimeStatus>
Enum describing the runtime status of the orchestration.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELEDThe orchestration canceled gracefully.COMPLETEDThe orchestration completed normally.CONTINUED_AS_NEWThe orchestration is transitioning into a new instance.FAILEDThe orchestration completed with an unhandled exception.PENDINGThe orchestration was scheduled but hasn't started running.RUNNINGThe orchestration started running.SUSPENDEDThe orchestration is in a suspended state.TERMINATEDThe orchestration was abruptly terminated via a management API call.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OrchestrationRuntimeStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static OrchestrationRuntimeStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RUNNING
public static final OrchestrationRuntimeStatus RUNNING
The orchestration started running.
-
COMPLETED
public static final OrchestrationRuntimeStatus COMPLETED
The orchestration completed normally.
-
CONTINUED_AS_NEW
public static final OrchestrationRuntimeStatus CONTINUED_AS_NEW
The orchestration is transitioning into a new instance.This status value is obsolete and exists only for compatibility reasons.
-
FAILED
public static final OrchestrationRuntimeStatus FAILED
The orchestration completed with an unhandled exception.
-
CANCELED
public static final OrchestrationRuntimeStatus CANCELED
The orchestration canceled gracefully.The Canceled status is not currently used and exists only for compatibility reasons.
-
TERMINATED
public static final OrchestrationRuntimeStatus TERMINATED
The orchestration was abruptly terminated via a management API call.
-
PENDING
public static final OrchestrationRuntimeStatus PENDING
The orchestration was scheduled but hasn't started running.
-
SUSPENDED
public static final OrchestrationRuntimeStatus SUSPENDED
The orchestration is in a suspended state.
-
-
Method Detail
-
values
public static OrchestrationRuntimeStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OrchestrationRuntimeStatus c : OrchestrationRuntimeStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OrchestrationRuntimeStatus valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-