Uses of Class
io.nflow.engine.workflow.definition.NextAction
Packages that use NextAction
Package
Description
Classes and interfaces for implementing workflow executor listeners.
Classes and interfaces for describing and implementing workflow definitions.
-
Uses of NextAction in io.nflow.engine.listener
Fields in io.nflow.engine.listener declared as NextActionModifier and TypeFieldDescriptionWorkflowExecutorListener.ListenerContext.nextActionThe action to be taken after workflow state execution.Methods in io.nflow.engine.listener that return NextActionModifier and TypeMethodDescriptionListenerChain.next(WorkflowExecutorListener.ListenerContext context) Return the next listener in the chain.default NextActionWorkflowExecutorListener.process(WorkflowExecutorListener.ListenerContext listenerContext, ListenerChain chain) Processing chain. -
Uses of NextAction in io.nflow.engine.workflow.curated
Methods in io.nflow.engine.workflow.curated that return NextActionModifier and TypeMethodDescriptionMaintenanceWorkflow.doWork(StateExecution execution, MaintenanceConfiguration conf) Clean up old workflow instances.CronWorkflow.handleFailure(StateExecution execution) Tries to handle failures by callingCronWorkflow.handleFailureImpl(io.nflow.engine.workflow.definition.StateExecution).CronWorkflow.schedule(StateExecution execution, String cron) Determines the next execution time for the doWork state by callingCronWorkflow.getNextActivationTime(io.nflow.engine.workflow.definition.StateExecution, java.lang.String).BulkWorkflow.splitWork(StateExecution execution, com.fasterxml.jackson.databind.JsonNode data) CallBulkWorkflow.splitWorkImpl(io.nflow.engine.workflow.definition.StateExecution,com.fasterxml.jackson.databind.JsonNode)to create new child workflows.BulkWorkflow.waitForChildrenToFinish(StateExecution execution, int concurrency) Check if all child workflows have finished.CronWorkflow.waitForWorkToFinish(StateExecution execution) CallsCronWorkflow.waitForWorkToFinishImpl(io.nflow.engine.workflow.definition.StateExecution)to check if this instance should wait for work to finish or move to schedule state. -
Uses of NextAction in io.nflow.engine.workflow.definition
Methods in io.nflow.engine.workflow.definition that return NextActionModifier and TypeMethodDescriptionstatic NextActionNextAction.moveToState(WorkflowState nextState, String reason) Schedule processing of statenextStateimmediately.static NextActionNextAction.moveToStateAfter(WorkflowState nextState, org.joda.time.DateTime activation, String reason) Schedule processing of statenextStateat timeactivation.static NextActionNextAction.retryAfter(org.joda.time.DateTime activation, String reason) Schedule retry for current state at timeactivation.static NextActionNextAction.stopInState(WorkflowState finalState, String reason) Set next state tofinalStateand do not schedule its processing.Methods in io.nflow.engine.workflow.definition with parameters of type NextActionModifier and TypeMethodDescriptionbooleanWorkflowDefinition.isAllowedNextAction(WorkflowInstance instance, NextAction nextAction) Return true if the given nextAction is permitted for given instance.