Class WorkflowPersistenceInstance
java.lang.Object
io.serverlessworkflow.impl.WorkflowMutableInstance
io.serverlessworkflow.impl.persistence.WorkflowPersistenceInstance
- All Implemented Interfaces:
io.serverlessworkflow.impl.WorkflowInstance,io.serverlessworkflow.impl.WorkflowInstanceData
public class WorkflowPersistenceInstance
extends io.serverlessworkflow.impl.WorkflowMutableInstance
-
Field Summary
Fields inherited from class io.serverlessworkflow.impl.WorkflowMutableInstance
additionalObjects, completedAt, futureRef, id, input, iterationsMap, startedAt, workflowContext -
Method Summary
Modifier and TypeMethodDescriptionstatic io.serverlessworkflow.impl.WorkflowInstanceof(io.serverlessworkflow.impl.WorkflowDefinition definition, PersistenceWorkflowInfo info) voidrestoreContext(io.serverlessworkflow.impl.WorkflowContext workflow, io.serverlessworkflow.impl.TaskContext context) CompletableFuture<io.serverlessworkflow.impl.WorkflowModel>start()Methods inherited from class io.serverlessworkflow.impl.WorkflowMutableInstance
addCancelable, addMetadataIfAbsent, cancel, cancelCheck, completedAt, context, findMetadata, id, incIteration, input, internalSuspend, output, outputAs, removeMetadata, resume, startedAt, startExecution, status, status, suspend, suspendedCheck, toString
-
Method Details
-
of
public static io.serverlessworkflow.impl.WorkflowInstance of(io.serverlessworkflow.impl.WorkflowDefinition definition, PersistenceWorkflowInfo info) -
start
- Specified by:
startin interfaceio.serverlessworkflow.impl.WorkflowInstance- Overrides:
startin classio.serverlessworkflow.impl.WorkflowMutableInstance
-
restoreContext
public void restoreContext(io.serverlessworkflow.impl.WorkflowContext workflow, io.serverlessworkflow.impl.TaskContext context) - Overrides:
restoreContextin classio.serverlessworkflow.impl.WorkflowMutableInstance
-