public class Transition<T> extends Object implements ITransition<T>
| Constructor and Description |
|---|
Transition(IApplicable<IState<T>> applicable,
IFunction<IState<T>,IExecutable<T>,RuntimeException> factory) |
| Modifier and Type | Method and Description |
|---|---|
IExecutable<T> |
getExecutable(IState<T> state) |
boolean |
isApplicable(IState<T> state) |
public Transition(IApplicable<IState<T>> applicable, IFunction<IState<T>,IExecutable<T>,RuntimeException> factory)
public boolean isApplicable(IState<T> state)
isApplicable in interface ITransition<T>public IExecutable<T> getExecutable(IState<T> state)
getExecutable in interface ITransition<T>Copyright © 2007–2018 Andreas W. Bartels. All rights reserved.