Class WordGeneratorErrorsWorkflow
java.lang.Object
io.nflow.engine.model.ModelObject
io.nflow.engine.workflow.definition.WorkflowDefinition
io.nflow.tests.demo.workflow.WordGeneratorWorkflow
io.nflow.tests.demo.workflow.WordGeneratorErrorsWorkflow
-
Nested Class Summary
Nested classes/interfaces inherited from class WordGeneratorWorkflow
WordGeneratorWorkflow.State -
Field Summary
Fields inherited from class WorkflowDefinition
allowedTransitions, failureTransitions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected NextActionupdate(StateExecution execution, String state) Methods inherited from class WordGeneratorWorkflow
a, b, c, d, e, end, error, f, g, h, i, j, k, l, m, n, o, p, q, r, randState, s, start, t, u, v, w, x, y, zModifier and TypeMethodDescriptiona(StateExecution execution) b(StateExecution execution) c(StateExecution execution) d(StateExecution execution) e(StateExecution execution) end(StateExecution execution) voiderror(StateExecution execution) f(StateExecution execution) g(StateExecution execution) h(StateExecution execution) i(StateExecution execution) j(StateExecution execution) k(StateExecution execution) l(StateExecution execution) m(StateExecution execution) n(StateExecution execution) o(StateExecution execution) p(StateExecution execution) q(StateExecution execution) r(StateExecution execution) protected static WordGeneratorWorkflow.States(StateExecution execution) start(StateExecution execution) t(StateExecution execution) u(StateExecution execution) v(StateExecution execution) w(StateExecution execution) x(StateExecution execution) y(StateExecution execution) z(StateExecution execution) Methods inherited from class WorkflowDefinition
getAllowedTransitions, getDescription, getErrorState, getFailureTransitions, getInitialState, getMethod, getMethod, getName, getSettings, getState, getStates, getSupportedSignals, getType, isAllowedNextAction, isAllowedStateTransition, isStartState, permit, permit, registerState, setDescription, setNameModifier and TypeMethodDescriptionReturn allowed transitions between the states of the workflow.Return the description of the workflow.Return the generic error state of the workflow.Return transitions from states to failure states.Return the initial state of the workflow.io.nflow.engine.internal.workflow.WorkflowStateMethodgetMethod(WorkflowState state) Returns the workflow state method for the given state.io.nflow.engine.internal.workflow.WorkflowStateMethodReturns the workflow state method for the given state name.getName()Return the name of the workflow.Return the workflow settings.Returns the workflow state for the given state name.Return all possible states of the workflow.Return signals supported by this workflow.getType()Return the type of the workflow.booleanisAllowedNextAction(WorkflowInstance instance, NextAction nextAction) Return true if the given nextAction is permitted for given instance.booleanisAllowedStateTransition(String currentState, String newState, StateTransitionValidationMode validationMode) Return true if state transition from currentState to newState is allowed by workflow definition.booleanisStartState(String state) Check if the given state is a valid start state.protected WorkflowDefinitionpermit(WorkflowState originState, WorkflowState targetState) Register a state transition to the allowed transitions.protected WorkflowDefinitionpermit(WorkflowState originState, WorkflowState targetState, WorkflowState failureState) Register a state and failure state transitions to the allowed transitions.final voidregisterState(WorkflowState state) Register a state as one of the allowed states in this workflow.voidsetDescription(String description) Set the description of the workflow.voidSet the name of the workflow.Methods inherited from class ModelObject
equals, hashCode, toString
-
Constructor Details
-
WordGeneratorErrorsWorkflow
public WordGeneratorErrorsWorkflow()
-
-
Method Details
-
update
- Overrides:
updatein classWordGeneratorWorkflow
-