Module net.anwiba.commons.workflow
Class Transition<T>
java.lang.Object
net.anwiba.commons.workflow.transition.Transition<T>
- All Implemented Interfaces:
ITransition<T>
-
Constructor Summary
ConstructorsConstructorDescriptionTransition(IApplicable<IState<T>> applicable, IFunction<IState<T>, IExecutable<T>, RuntimeException> factory) -
Method Summary
Modifier and TypeMethodDescriptiongetExecutable(IState<T> state) booleanisApplicable(IState<T> state)
-
Constructor Details
-
Transition
public Transition(IApplicable<IState<T>> applicable, IFunction<IState<T>, IExecutable<T>, RuntimeException> factory)
-
-
Method Details
-
isApplicable
- Specified by:
isApplicablein interfaceITransition<T>
-
getExecutable
- Specified by:
getExecutablein interfaceITransition<T>
-