org.squirrelframework.foundation.fsm.builder
Interface On<T extends StateMachine<T,S,E,C>,S,E,C>

Type Parameters:
T - type of State Machine
S - type of State
E - type of Event
C - type of Context
All Superinterfaces:
When<T,S,E,C>
All Known Implementing Classes:
DeferBoundActionBuilderImpl

public interface On<T extends StateMachine<T,S,E,C>,S,E,C>
extends When<T,S,E,C>

On clause builder which is used to build transition condition

Author:
Henry.He

Method Summary
 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 interface org.squirrelframework.foundation.fsm.builder.When
callMethod, evalMvel, perform, perform
 

Method Detail

when

When<T,S,E,C> when(Condition<C> condition)
Add condition for the transition

Parameters:
condition - transition condition
Returns:
When clause builder

whenMvel

When<T,S,E,C> whenMvel(String expression)
Add condition for the transition

Parameters:
expression - mvel expression
Returns:
When clause builder


Copyright © 2013-2014. All Rights Reserved.