public class DeferBoundActionBuilderImpl<T extends StateMachine<T,S,E,C>,S,E,C> extends Object implements DeferBoundActionBuilder<T,S,E,C>, DeferBoundActionFrom<T,S,E,C>, DeferBoundActionTo<T,S,E,C>, On<T,S,E,C>, SquirrelComponent
| Modifier and Type | Method and Description |
|---|---|
void |
callMethod(String methodName)
Define action method to be called during transition.
|
void |
evalMvel(String expression)
Define mvel action to be performed during transition
|
DeferBoundActionFrom<T,S,E,C> |
from(S from) |
DeferBoundActionFrom<T,S,E,C> |
fromAny() |
On<T,S,E,C> |
on(E event)
Build transition event
|
On<T,S,E,C> |
onAny() |
void |
perform(Action<T,S,E,C> action)
Define action to be performed during transition
|
void |
perform(List<? extends Action<T,S,E,C>> actions)
Define actions to be performed during transition.
|
DeferBoundActionTo<T,S,E,C> |
to(S to)
Build transition target state and return to clause builder
|
DeferBoundActionTo<T,S,E,C> |
toAny() |
When<T,S,E,C> |
when(Condition<C> condition)
Add condition for the transition
|
When<T,S,E,C> |
whenMvel(String expression)
Add condition for the transition
|
public void perform(Action<T,S,E,C> action)
Whenpublic void perform(List<? extends Action<T,S,E,C>> actions)
Whenpublic void evalMvel(String expression)
Whenpublic void callMethod(String methodName)
Whenpublic On<T,S,E,C> on(E event)
DeferBoundActionTopublic DeferBoundActionTo<T,S,E,C> to(S to)
DeferBoundActionFrompublic DeferBoundActionTo<T,S,E,C> toAny()
public DeferBoundActionFrom<T,S,E,C> fromAny()
public When<T,S,E,C> when(Condition<C> condition)
OnCopyright © 2013–2016. All rights reserved.