Package io.iworkflow.core
Class Context
java.lang.Object
io.iworkflow.core.Context
-
Constructor Details
-
Context
public Context()
-
-
Method Details
-
getWorkflowStartTimestampSeconds
-
getStateExecutionId
- Returns:
- the StateExecutionId. Only applicable for state methods (waitUntil or execute)
-
getWorkflowRunId
-
getWorkflowId
-
getWorkflowType
-
getFirstAttemptTimestampSeconds
- Returns:
- the start time of the first attempt of the state method invocation. Only applicable for state methods (waitUntil or execute)
-
getAttempt
- Returns:
- attempt starts from 1, and increased by 1 for every retry if retry policy is specified.
-
getChildWorkflowRequestId
- Returns:
- the requestId that is used to start the child workflow from state method. Only applicable for state methods (waitUntil or execute)
-