org.araneaframework.framework
Interface FlowContext.TransitionHandler

All Superinterfaces:
Serializable
All Known Implementing Classes:
StandardFlowContainerWidget.StandardTransitionHandler
Enclosing interface:
FlowContext

public static interface FlowContext.TransitionHandler
extends Serializable

Performs the flow transitions in FlowContext.

Since:
1.1
Author:
Taimo Peelo (taimo@araneaframework.org)

Method Summary
 void doTransition(int eventType, Widget activeFlow, org.apache.commons.collections.Closure transition)
           
 

Method Detail

doTransition

public void doTransition(int eventType,
                         Widget activeFlow,
                         org.apache.commons.collections.Closure transition)
Parameters:
eventType - FlowContext.START .. FlowContext.RESET
activeFlow - active flow at the moment of transition request
transition - Serializable closure that needs to be executed for transition to happen