| Package | Description |
|---|---|
| io.nflow.engine.internal.dao | |
| io.nflow.engine.internal.workflow | |
| 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.curated | |
| 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 | Method and Description |
|---|---|
WorkflowInstance |
WorkflowInstanceDao.getWorkflowInstance(long id,
Set<WorkflowInstanceInclude> includes,
Long maxActions) |
| Modifier and Type | Method and Description |
|---|---|
List<WorkflowInstance> |
WorkflowInstanceDao.queryWorkflowInstances(QueryWorkflowInstances query) |
Stream<WorkflowInstance> |
WorkflowInstanceDao.queryWorkflowInstancesAsStream(QueryWorkflowInstances query) |
| Modifier and Type | Method and Description |
|---|---|
long |
WorkflowInstanceDao.insertWorkflowInstance(WorkflowInstance instance) |
long |
WorkflowInstanceDao.insertWorkflowInstanceAction(WorkflowInstance instance,
WorkflowInstanceAction action) |
boolean |
WorkflowInstanceDao.updateNotRunningWorkflowInstance(WorkflowInstance instance) |
int |
WorkflowInstanceDao.updateWorkflowInstance(WorkflowInstance instance) |
void |
WorkflowInstanceDao.updateWorkflowInstanceAfterExecution(WorkflowInstance instance,
WorkflowInstanceAction action,
List<WorkflowInstance> childWorkflows,
List<WorkflowInstance> workflows,
boolean createAction) |
| Modifier and Type | Method and Description |
|---|---|
void |
WorkflowInstanceDao.updateWorkflowInstanceAfterExecution(WorkflowInstance instance,
WorkflowInstanceAction action,
List<WorkflowInstance> childWorkflows,
List<WorkflowInstance> workflows,
boolean createAction) |
void |
WorkflowInstanceDao.updateWorkflowInstanceAfterExecution(WorkflowInstance instance,
WorkflowInstanceAction action,
List<WorkflowInstance> childWorkflows,
List<WorkflowInstance> workflows,
boolean createAction) |
| Modifier and Type | Method and Description |
|---|---|
WorkflowInstance |
WorkflowInstancePreProcessor.process(WorkflowInstance instance) |
| Modifier and Type | Method and Description |
|---|---|
List<WorkflowInstance> |
StateExecutionImpl.getAllChildWorkflows() |
List<WorkflowInstance> |
StateExecutionImpl.getNewChildWorkflows() |
List<WorkflowInstance> |
StateExecutionImpl.getNewWorkflows() |
List<WorkflowInstance> |
StateExecutionImpl.queryChildWorkflows(QueryWorkflowInstances query) |
| Modifier and Type | Method and Description |
|---|---|
void |
StateExecutionImpl.addChildWorkflows(WorkflowInstance... childWorkflows) |
void |
StateExecutionImpl.addWorkflows(WorkflowInstance... workflows) |
WorkflowInstance |
WorkflowInstancePreProcessor.process(WorkflowInstance instance) |
| Constructor and Description |
|---|
StateExecutionImpl(WorkflowInstance instance,
ObjectStringMapper objectMapper,
WorkflowInstanceDao workflowDao,
WorkflowInstancePreProcessor workflowInstancePreProcessor,
WorkflowInstanceService workflowInstanceService) |
| 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(long 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.
|
Stream<WorkflowInstance> |
WorkflowInstanceService.listWorkflowInstancesAsStream(QueryWorkflowInstances query)
Return workflow instances matching the given query.
|
| Modifier and Type | Method and Description |
|---|---|
long |
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 |
|---|---|
protected boolean |
BulkWorkflow.isRunning(WorkflowInstance instance)
Override this to determine if the child workflow is running or not.
|
| 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–2020 Nitor Creations. All rights reserved.