Package | Description |
---|---|
io.nflow.engine.listener |
Classes and interfaces for implementing workflow executor listeners.
|
io.nflow.engine.service |
Services for for managing and querying nFlow engine during runtime.
|
io.nflow.engine.workflow.definition |
Classes and interfaces for describing and implementing workflow definitions.
|
io.nflow.engine.workflow.instance |
Classes for describing and constructing workflow instances.
|
Modifier and Type | Field and Description |
---|---|
WorkflowInstance |
WorkflowExecutorListener.ListenerContext.instance
The workflow instance.
|
Constructor and Description |
---|
ListenerContext(AbstractWorkflowDefinition<?> definition,
WorkflowInstance instance,
StateExecution stateExecution) |
Modifier and Type | Method and Description |
---|---|
WorkflowInstance |
WorkflowInstanceService.getWorkflowInstance(int id,
Set<WorkflowInstanceInclude> includes,
Long maxActions)
Return the workflow instance matching the given id.
|
Modifier and Type | Method and Description |
---|---|
Collection<WorkflowInstance> |
WorkflowInstanceService.listWorkflowInstances(QueryWorkflowInstances query)
Return workflow instances matching the given query.
|
Modifier and Type | Method and Description |
---|---|
int |
WorkflowInstanceService.insertWorkflowInstance(WorkflowInstance instance)
Insert the workflow instance to the database and return the id of the
instance.
|
boolean |
WorkflowInstanceService.updateWorkflowInstance(WorkflowInstance instance,
WorkflowInstanceAction action)
Update the workflow instance in the database if it is currently not running, and insert the workflow instance action.
|
Modifier and Type | Method and Description |
---|---|
List<WorkflowInstance> |
StateExecution.getAllChildWorkflows()
Return all child workflows for current workflow.
|
List<WorkflowInstance> |
StateExecution.queryChildWorkflows(QueryWorkflowInstances query)
Return child workflow instances for current workflow.
|
Modifier and Type | Method and Description |
---|---|
void |
StateExecution.addChildWorkflows(WorkflowInstance... childWorkflows)
Add new child workflows.
|
void |
StateExecution.addWorkflows(WorkflowInstance... workflows)
Add new workflows.
|
boolean |
AbstractWorkflowDefinition.isAllowedNextAction(WorkflowInstance instance,
NextAction nextAction)
Return true if the given nextAction is permitted for given instance.
|
Modifier and Type | Method and Description |
---|---|
WorkflowInstance |
WorkflowInstance.Builder.build()
Create the workflow instance object.
|
Constructor and Description |
---|
Builder(WorkflowInstance copy)
Create a workflow instance builder based on an existing workflow instance.
|
Builder(WorkflowInstance instance)
Create a builder for a workflow instance action based on an existing workflow instance.
|
Copyright © 2014–2018 Nitor Creations. All rights reserved.