public class DynamicTransitionEngine extends TransitionEngine
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.DynamicNode
Constructor and Description |
---|
DynamicTransitionEngine() |
Modifier and Type | Method and Description |
---|---|
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) |
getNode, getRouteHelper, resolveNextNodeInstances, resolveNextNodeInstances, setRouteHelper
public DynamicTransitionEngine()
public RouteNodeInstance transitionTo(RouteNodeInstance dynamicNodeInstance, RouteContext context) throws Exception
transitionTo
in class TransitionEngine
Exception
public ProcessResult isComplete(RouteContext context) throws Exception
TransitionEngine
isComplete
in class TransitionEngine
context
- for routingException
public Transition transitionFrom(RouteContext context, ProcessResult processResult) throws Exception
transitionFrom
in class TransitionEngine
Exception
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.