| Package | Description |
|---|---|
| io.nflow.engine.listener |
Classes and interfaces for implementing workflow executor listeners.
|
| io.nflow.engine.workflow.curated | |
| io.nflow.engine.workflow.definition |
Classes and interfaces for describing and implementing workflow definitions.
|
| Modifier and Type | Field and Description |
|---|---|
NextAction |
WorkflowExecutorListener.ListenerContext.nextAction
The action to be taken after workflow state execution.
|
| Modifier and Type | Method and Description |
|---|---|
NextAction |
ListenerChain.next(WorkflowExecutorListener.ListenerContext context)
Return the next listener in the chain.
|
default NextAction |
WorkflowExecutorListener.process(WorkflowExecutorListener.ListenerContext listenerContext,
ListenerChain chain)
Processing chain.
|
| Modifier and Type | Method and Description |
|---|---|
NextAction |
MaintenanceWorkflow.doWork(StateExecution execution,
MaintenanceConfiguration conf)
Clean up old workflow instances.
|
NextAction |
CronWorkflow.handleFailure(StateExecution execution)
Tries to handle failures by calling
CronWorkflow.handleFailureImpl(io.nflow.engine.workflow.definition.StateExecution). |
NextAction |
CronWorkflow.schedule(StateExecution execution,
String cron)
Determines the next execution time for the doWork state by calling
getNextActivationTime. |
NextAction |
BulkWorkflow.splitWork(StateExecution execution,
com.fasterxml.jackson.databind.JsonNode data)
Call
splitWorkImpl to create new child workflows. |
NextAction |
BulkWorkflow.waitForChildrenToFinish(StateExecution execution,
int concurrency)
Check if all child workflows have finished.
|
| Modifier and Type | Method and Description |
|---|---|
static NextAction |
NextAction.moveToState(WorkflowState nextState,
String reason)
Schedule processing of state
nextState immediately. |
static NextAction |
NextAction.moveToStateAfter(WorkflowState nextState,
org.joda.time.DateTime activation,
String reason)
Schedule processing of state
nextState at time activation. |
static NextAction |
NextAction.retryAfter(org.joda.time.DateTime activation,
String reason)
Schedule retry for current state at time
activation. |
static NextAction |
NextAction.stopInState(WorkflowState finalState,
String reason)
Set next state to
finalState and do not schedule its
processing. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractWorkflowDefinition.isAllowedNextAction(WorkflowInstance instance,
NextAction nextAction)
Return true if the given nextAction is permitted for given instance.
|
Copyright © 2014–2020 Nitor Creations. All rights reserved.