Uses of Interface
io.nflow.engine.workflow.definition.StateExecution
-
Packages that use StateExecution Package Description io.nflow.engine.internal.workflow io.nflow.engine.listener Classes and interfaces for implementing workflow executor listeners.io.nflow.engine.workflow.curated -
-
Uses of StateExecution in io.nflow.engine.internal.workflow
Classes in io.nflow.engine.internal.workflow that implement StateExecution Modifier and Type Class Description classStateExecutionImplMethods in io.nflow.engine.internal.workflow with parameters of type StateExecution Modifier and Type Method Description Object[]ObjectStringMapper. createArguments(StateExecution execution, WorkflowStateMethod method)voidObjectStringMapper. storeArguments(StateExecution execution, WorkflowStateMethod method, Object[] args) -
Uses of StateExecution in io.nflow.engine.listener
Fields in io.nflow.engine.listener declared as StateExecution Modifier and Type Field Description StateExecutionWorkflowExecutorListener.ListenerContext. stateExecutionThe access point for the workflow instance-specific information.Constructors in io.nflow.engine.listener with parameters of type StateExecution Constructor Description ListenerContext(WorkflowDefinition definition, WorkflowInstance instance, StateExecution stateExecution) -
Uses of StateExecution in io.nflow.engine.workflow.curated
Methods in io.nflow.engine.workflow.curated with parameters of type StateExecution Modifier and Type Method Description NextActionMaintenanceWorkflow. doWork(StateExecution execution, MaintenanceConfiguration conf)Clean up old workflow instances.protected org.joda.time.DateTimeCronWorkflow. getNextActivationTime(StateExecution execution, String cron)Calculates next activation time based on cron state variable.NextActionCronWorkflow. handleFailure(StateExecution execution)Tries to handle failures by callingCronWorkflow.handleFailureImpl(io.nflow.engine.workflow.definition.StateExecution).protected booleanCronWorkflow. handleFailureImpl(StateExecution execution)Logs an error and continues.NextActionCronWorkflow. 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).NextActionBulkWorkflow. 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.protected booleanBulkWorkflow. splitWorkImpl(StateExecution execution, com.fasterxml.jackson.databind.JsonNode data)Override this to create child workflows or add the children before starting the parent.NextActionBulkWorkflow. waitForChildrenToFinish(StateExecution execution, int concurrency)Check if all child workflows have finished.NextActionCronWorkflow. 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.protected org.joda.time.DateTimeCronWorkflow. waitForWorkToFinishImpl(StateExecution execution)Returns null to move to schedule state immediately if there are no incomplete child workflows, or current time plus 1 hour to check again later.
-