|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.squirrelframework.foundation.fsm.impl.DeferBoundActionBuilderImpl<T,S,E,C>
public class DeferBoundActionBuilderImpl<T extends StateMachine<T,S,E,C>,S,E,C>
| Method Summary | |
|---|---|
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<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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void perform(Action<T,S,E,C> action)
When
perform in interface When<T extends StateMachine<T,S,E,C>,S,E,C>action - performed actionpublic void perform(List<Action<T,S,E,C>> actions)
When
perform in interface When<T extends StateMachine<T,S,E,C>,S,E,C>actions - performed actionspublic void evalMvel(String expression)
When
evalMvel in interface When<T extends StateMachine<T,S,E,C>,S,E,C>expression - mvel expressionpublic void callMethod(String methodName)
When
callMethod in interface When<T extends StateMachine<T,S,E,C>,S,E,C>methodName - method namepublic On<T,S,E,C> on(E event)
DeferBoundActionTo
on in interface DeferBoundActionTo<T extends StateMachine<T,S,E,C>,S,E,C>event - transition event
public On<T,S,E,C> onAny()
onAny in interface DeferBoundActionTo<T extends StateMachine<T,S,E,C>,S,E,C>public DeferBoundActionTo<T,S,E,C> to(S to)
DeferBoundActionFrom
to in interface DeferBoundActionFrom<T extends StateMachine<T,S,E,C>,S,E,C>to - id of state
public DeferBoundActionTo<T,S,E,C> toAny()
toAny in interface DeferBoundActionFrom<T extends StateMachine<T,S,E,C>,S,E,C>public DeferBoundActionFrom<T,S,E,C> fromAny()
fromAny in interface DeferBoundActionBuilder<T extends StateMachine<T,S,E,C>,S,E,C>public DeferBoundActionFrom<T,S,E,C> from(S from)
from in interface DeferBoundActionBuilder<T extends StateMachine<T,S,E,C>,S,E,C>public When<T,S,E,C> when(Condition<C> condition)
On
when in interface On<T extends StateMachine<T,S,E,C>,S,E,C>condition - transition condition
public When<T,S,E,C> whenMvel(String expression)
On
whenMvel in interface On<T extends StateMachine<T,S,E,C>,S,E,C>expression - mvel expression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||