| Package | Description |
|---|---|
| io.nflow.engine | |
| io.nflow.engine.internal.dao | |
| io.nflow.engine.internal.workflow | |
| 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.
|
| Constructor and Description |
|---|
NflowEngine(DataSource dataSource,
SQLVariants sqlVariants,
Collection<AbstractWorkflowDefinition<? extends WorkflowState>> workflowDefinitions)
Starts up the NflowEngine with WorkflowDispatcher running in a thread.
|
| Modifier and Type | Method and Description |
|---|---|
void |
WorkflowDefinitionDao.storeWorkflowDefinition(AbstractWorkflowDefinition<? extends WorkflowState> definition) |
| Modifier and Type | Method and Description |
|---|---|
void |
StateExecutionImpl.setNextState(WorkflowState state) |
| Modifier and Type | Method and Description |
|---|---|
List<AbstractWorkflowDefinition<? extends WorkflowState>> |
WorkflowDefinitionService.getWorkflowDefinitions()
Return all managed workflow definitions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
WorkflowDefinitionService.addWorkflowDefinition(AbstractWorkflowDefinition<? extends WorkflowState> wd)
Add given workflow definition to managed definitions.
|
| Constructor and Description |
|---|
WorkflowDefinitionSpringBeanScanner(WorkflowDefinitionService workflowDefinitionService,
Collection<AbstractWorkflowDefinition<? extends WorkflowState>> workflowDefinitions) |
| Modifier and Type | Class and Description |
|---|---|
static class |
BulkWorkflow.State
Bulk workflow states.
|
static class |
CronWorkflow.State
States of cron workflow.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractWorkflowDefinition<S extends WorkflowState>
The base class for all workflow definitions.
|
class |
WorkflowDefinition<S extends Enum<S> & WorkflowState>
The base class for enum based workflow definitions.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,WorkflowState> |
AbstractWorkflowDefinition.failureTransitions |
Map<WorkflowState,Integer> |
WorkflowSettings.maxSubsequentStateExecutionsPerState
Maximum number of subsequent state executions before forcing a short transition delay, per state.
|
| Modifier and Type | Method and Description |
|---|---|
WorkflowState |
NextAction.getNextState()
Return the next state of the workflow.
|
WorkflowState |
AbstractWorkflowDefinition.getState(String state)
Returns the workflow state for the given state name.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,WorkflowState> |
AbstractWorkflowDefinition.getFailureTransitions()
Return transitions from states to failure states.
|
| Modifier and Type | Method and Description |
|---|---|
int |
WorkflowSettings.getMaxSubsequentStateExecutions(WorkflowState state)
Return the maximum number of subsequent state executions before forcing a short transition delay.
|
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. |
WorkflowSettings.Builder |
WorkflowSettings.Builder.setMaxSubsequentStateExecutions(WorkflowState state,
int maxSubsequentStateExecutions)
Set maximum number of subsequent state executions before forcing a short transition delay for given state.
|
static NextAction |
NextAction.stopInState(WorkflowState finalState,
String reason)
Set next state to
finalState and do not schedule its
processing. |
Copyright © 2014–2020 Nitor Creations. All rights reserved.