S
- the type of stateE
- the type of eventpublic interface StateMachineComponentResolver<S,E>
Modifier and Type | Method and Description |
---|---|
void |
registerAction(java.lang.String id,
Action<S,E> action)
Register
Action into factory with a given id. |
void |
registerGuard(java.lang.String id,
Guard<S,E> guard)
Register
Guard into factory with a given id. |
Action<S,E> |
resolveAction(java.lang.String id)
Resolve action.
|
Guard<S,E> |
resolveGuard(java.lang.String id)
Resolve guard.
|
void registerAction(java.lang.String id, Action<S,E> action)
Action
into factory with a given id.id
- the idaction
- the actionvoid registerGuard(java.lang.String id, Guard<S,E> guard)
Guard
into factory with a given id.id
- the idguard
- the guardAction<S,E> resolveAction(java.lang.String id)
id
- the id