java.lang.Object
net.anwiba.commons.workflow.WorkflowBuilder<T>
- All Implemented Interfaces:
IWorkflowBuilder<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(IApplicable<IState<T>> applicable, IFunction<IState<T>, IExecutable<T>, RuntimeException> factory) add(IApplicable<IState<T>> applicable, IExecutable<T> executable) add(ITransition<T> transition) build()setClosureDelegatorFactory(IExecuterFactory<T> closureDelegatorFactory) setWorkflowController(IWorkflowController<T> workflowController)
-
Constructor Details
-
WorkflowBuilder
public WorkflowBuilder()
-
-
Method Details
-
add
- Specified by:
addin interfaceIWorkflowBuilder<T>
-
add
- Specified by:
addin interfaceIWorkflowBuilder<T>
-
add
public IWorkflowBuilder<T> add(IApplicable<IState<T>> applicable, IFunction<IState<T>, IExecutable<T>, RuntimeException> factory) - Specified by:
addin interfaceIWorkflowBuilder<T>
-
setClosureDelegatorFactory
- Specified by:
setClosureDelegatorFactoryin interfaceIWorkflowBuilder<T>
-
setWorkflowController
- Specified by:
setWorkflowControllerin interfaceIWorkflowBuilder<T>
-
setEventDispatchThreadExecuter
- Specified by:
setEventDispatchThreadExecuterin interfaceIWorkflowBuilder<T>
-
build
- Specified by:
buildin interfaceIWorkflowBuilder<T>
-