WorkflowManager class
Workflow Manager - Business logic layer
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancelWorkflowExecution(
String executionId) → Future< bool> - Cancel workflow execution
-
closeEventStream(
) → Future< void> - Close event stream
-
createWorkflow(
Workflow workflow) → Future< Workflow> - Create workflow and validate
-
deleteWorkflow(
String workflowId) → Future< bool> - Delete workflow
-
executeWorkflow(
String workflowId, {Map< String, dynamic> ? inputData}) → Future<WorkflowExecutionResult> - Execute workflow
-
getWorkflow(
String workflowId) → Future< Workflow> - Get workflow
-
getWorkflowExecutionResult(
String executionId) → Future< WorkflowExecutionResult> - Get workflow execution result
-
getWorkflowExecutions(
String workflowId) → Future< List< WorkflowExecutionResult> > - Get workflow execution history
-
initialize(
WorkflowPlatformAdapter adapter) → void - Initialize workflow manager
-
listenWorkflowEvents(
) → Stream< WorkflowEvent> - Listen to workflow events
-
listWorkflows(
) → Future< List< Workflow> > - List all workflows
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateWorkflow(
Workflow workflow) → Future< Workflow> - Update workflow and validate
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → WorkflowManager
-
Singleton instance
final