| Package | Description |
|---|---|
| io.nflow.engine.internal.workflow | |
| io.nflow.engine.listener |
Classes and interfaces for implementing workflow executor listeners.
|
| io.nflow.engine.workflow.curated |
| Modifier and Type | Class and Description |
|---|---|
class |
StateExecutionImpl |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
ObjectStringMapper.createArguments(StateExecution execution,
WorkflowStateMethod method) |
void |
ObjectStringMapper.storeArguments(StateExecution execution,
WorkflowStateMethod method,
Object[] args) |
| Modifier and Type | Field and Description |
|---|---|
StateExecution |
WorkflowExecutorListener.ListenerContext.stateExecution
The access point for the workflow instance-specific information.
|
| Constructor and Description |
|---|
ListenerContext(AbstractWorkflowDefinition<?> definition,
WorkflowInstance instance,
StateExecution stateExecution) |
| Modifier and Type | Method and Description |
|---|---|
NextAction |
MaintenanceWorkflow.doWork(StateExecution execution,
MaintenanceConfiguration conf)
Clean up old workflow instances.
|
protected org.joda.time.DateTime |
CronWorkflow.getNextActivationTime(StateExecution execution,
String cron)
Calculates next activation time based on cron state variable.
|
NextAction |
CronWorkflow.handleFailure(StateExecution execution)
Tries to handle failures by calling
CronWorkflow.handleFailureImpl(io.nflow.engine.workflow.definition.StateExecution). |
protected boolean |
CronWorkflow.handleFailureImpl(StateExecution execution)
Logs an error and continues.
|
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. |
protected boolean |
BulkWorkflow.splitWorkImpl(StateExecution execution,
com.fasterxml.jackson.databind.JsonNode data)
Override this to create child workflows or add the children before starting the parent.
|
NextAction |
BulkWorkflow.waitForChildrenToFinish(StateExecution execution,
int concurrency)
Check if all child workflows have finished.
|
Copyright © 2014–2020 Nitor Creations. All rights reserved.