org.kuali.rice.kew.engine.transition
Class DynamicTransitionEngine

java.lang.Object
  extended by org.kuali.rice.kew.engine.transition.TransitionEngine
      extended by org.kuali.rice.kew.engine.transition.DynamicTransitionEngine

public class DynamicTransitionEngine
extends TransitionEngine

The DynamicTransitionEngine operates on a DynamicNode and takes the next node instances returned by the node and runs returns them in a TransitionResult after doing some processing and validation on them.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
DynamicNode

Constructor Summary
DynamicTransitionEngine()
           
 
Method Summary
 ProcessResult isComplete(RouteContext context)
          Tell the WorkflowEngine processing the activeNodeInstance if the node is complete and transitionFrom can be called.
 Transition transitionFrom(RouteContext context, ProcessResult processResult)
           
 RouteNodeInstance transitionTo(RouteNodeInstance dynamicNodeInstance, RouteContext context)
           
 
Methods inherited from class org.kuali.rice.kew.engine.transition.TransitionEngine
getNode, getRouteHelper, resolveNextNodeInstances, resolveNextNodeInstances, setRouteHelper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicTransitionEngine

public DynamicTransitionEngine()
Method Detail

transitionTo

public RouteNodeInstance transitionTo(RouteNodeInstance dynamicNodeInstance,
                                      RouteContext context)
                               throws Exception
Overrides:
transitionTo in class TransitionEngine
Throws:
Exception

isComplete

public ProcessResult isComplete(RouteContext context)
                         throws Exception
Description copied from class: TransitionEngine
Tell the WorkflowEngine processing the activeNodeInstance if the node is complete and transitionFrom can be called.

Specified by:
isComplete in class TransitionEngine
Parameters:
context - for routing
Returns:
boolean
Throws:
Exception

transitionFrom

public Transition transitionFrom(RouteContext context,
                                 ProcessResult processResult)
                          throws Exception
Overrides:
transitionFrom in class TransitionEngine
Throws:
Exception


Copyright © 2005–2015 The Kuali Foundation. All rights reserved.