Uses of Interface
io.nflow.engine.workflow.definition.WorkflowState
Packages that use WorkflowState
Package
Description
Classes and interfaces for describing and implementing workflow definitions.
Classes for describing and constructing workflow instances.
-
Uses of WorkflowState in io.nflow.engine.internal.workflow
Methods in io.nflow.engine.internal.workflow that return WorkflowStateMethods in io.nflow.engine.internal.workflow that return types with arguments of type WorkflowStateModifier and TypeMethodDescriptionWorkflowDefinitionScanner.getPublicStaticWorkflowStates(Class<? extends WorkflowDefinition> definition) Methods in io.nflow.engine.internal.workflow with parameters of type WorkflowState -
Uses of WorkflowState in io.nflow.engine.workflow.curated
Classes in io.nflow.engine.workflow.curated that implement WorkflowStateModifier and TypeClassDescriptionclassA simple implementation of the WorkflowState interface that can be used in any workflow definition, if more advanced implementation is not needed.Fields in io.nflow.engine.workflow.curated declared as WorkflowStateModifier and TypeFieldDescriptionstatic final WorkflowStateCronWorkflow.DISABLEDstatic final WorkflowStateCronWorkflow.DO_WORKstatic final WorkflowStateBulkWorkflow.DONEstatic final WorkflowStateBulkWorkflow.ERRORstatic final WorkflowStateCronWorkflow.FAILEDstatic final WorkflowStateCronWorkflow.HANDLE_FAILUREstatic final WorkflowStateCronWorkflow.SCHEDULEStates of cron workflow.static final WorkflowStateBulkWorkflow.SPLIT_WORKBulk workflow states.static final WorkflowStateBulkWorkflow.WAIT_FOR_CHILDREN_TO_FINISHstatic final WorkflowStateCronWorkflow.WAIT_FOR_WORK_TO_FINISH -
Uses of WorkflowState in io.nflow.engine.workflow.definition
Fields in io.nflow.engine.workflow.definition with type parameters of type WorkflowStateModifier and TypeFieldDescriptionprotected final Map<String,WorkflowState> WorkflowDefinition.failureTransitionsfinal Map<WorkflowState,Integer> WorkflowSettings.maxSubsequentStateExecutionsPerStateMaximum number of subsequent state executions before forcing a short transition delay, per state.Methods in io.nflow.engine.workflow.definition that return WorkflowStateModifier and TypeMethodDescriptionWorkflowDefinition.getErrorState()Return the generic error state of the workflow.WorkflowDefinition.getInitialState()Return the initial state of the workflow.NextAction.getNextState()Return the next state of the workflow.Returns the workflow state for the given state name.Methods in io.nflow.engine.workflow.definition that return types with arguments of type WorkflowStateModifier and TypeMethodDescriptionWorkflowDefinition.getFailureTransitions()Return transitions from states to failure states.WorkflowDefinition.getStates()Return all possible states of the workflow.Methods in io.nflow.engine.workflow.definition with parameters of type WorkflowStateModifier and TypeMethodDescriptionWorkflowSettings.analyzeExeption(WorkflowState state, Throwable thrown) Analyze exception thrown by a state method to determine how it should be handled.intWorkflowSettings.getMaxSubsequentStateExecutions(WorkflowState state) Return the maximum number of subsequent state executions before forcing a short transition delay.WorkflowDefinition.getMethod(WorkflowState state) Returns the workflow state method for the given state.static 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.protected WorkflowDefinitionWorkflowDefinition.permit(WorkflowState originState, WorkflowState targetState) Register a state transition to the allowed transitions.protected WorkflowDefinitionWorkflowDefinition.permit(WorkflowState originState, WorkflowState targetState, WorkflowState failureState) Register a state and failure state transitions to the allowed transitions.final voidWorkflowDefinition.registerState(WorkflowState state) Register a state as one of the allowed states in this workflow.WorkflowSettings.Builder.setMaxSubsequentStateExecutions(WorkflowState state, int maxSubsequentStateExecutions) Set maximum number of subsequent state executions before forcing a short transition delay for given state.static NextActionNextAction.stopInState(WorkflowState finalState, String reason) Set next state tofinalStateand do not schedule its processing.Method parameters in io.nflow.engine.workflow.definition with type arguments of type WorkflowStateModifier and TypeMethodDescriptionWorkflowSettings.Builder.setExceptionAnalyzer(BiFunction<WorkflowState, Throwable, StateProcessExceptionHandling> exceptionAnalyzer) Set the exception analyzer function.Constructors in io.nflow.engine.workflow.definition with parameters of type WorkflowStateModifierConstructorDescriptionprotectedWorkflowDefinition(String type, WorkflowState initialState, WorkflowState errorState) Create a workflow definition with default settings and automatically scanned state methods.protectedWorkflowDefinition(String type, WorkflowState initialState, WorkflowState errorState, WorkflowSettings settings) Create a workflow definition with given settings and automatically scanned state methods.protectedWorkflowDefinition(String type, WorkflowState initialState, WorkflowState errorState, WorkflowSettings settings, Map<String, WorkflowStateMethod> stateMethods) Create a workflow definition with given settings and state methods.protectedWorkflowDefinition(String type, WorkflowState initialState, WorkflowState errorState, WorkflowSettings settings, Map<String, WorkflowStateMethod> stateMethods, Collection<WorkflowState> states) Create a workflow definition with given settings, state methods and states.protectedWorkflowDefinition(String type, WorkflowState initialState, WorkflowState errorState, WorkflowSettings settings, Map<String, WorkflowStateMethod> stateMethods, Collection<WorkflowState> states, boolean verifyStateMethodValidity) Create a workflow definition with given settings, state methods and states.Constructor parameters in io.nflow.engine.workflow.definition with type arguments of type WorkflowStateModifierConstructorDescriptionprotectedWorkflowDefinition(String type, WorkflowState initialState, WorkflowState errorState, WorkflowSettings settings, Map<String, WorkflowStateMethod> stateMethods, Collection<WorkflowState> states) Create a workflow definition with given settings, state methods and states.protectedWorkflowDefinition(String type, WorkflowState initialState, WorkflowState errorState, WorkflowSettings settings, Map<String, WorkflowStateMethod> stateMethods, Collection<WorkflowState> states, boolean verifyStateMethodValidity) Create a workflow definition with given settings, state methods and states. -
Uses of WorkflowState in io.nflow.engine.workflow.instance
Methods in io.nflow.engine.workflow.instance with parameters of type WorkflowStateModifier and TypeMethodDescriptionWorkflowInstance.Builder.setState(WorkflowState state) Set the state.