org.kuali.rice.kew.engine.simulation
Class SimulationEngine
java.lang.Object
org.kuali.rice.kew.engine.StandardWorkflowEngine
org.kuali.rice.kew.engine.simulation.SimulationEngine
- All Implemented Interfaces:
- SimulationWorkflowEngine, WorkflowEngine
public class SimulationEngine
- extends StandardWorkflowEngine
- implements SimulationWorkflowEngine
A WorkflowEngine implementation which runs simulations. This object is not thread-safe
and therefore a new instance needs to be instantiated on every use.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class org.kuali.rice.kew.engine.StandardWorkflowEngine |
getParameterService, getRouteHeaderService, getRouteNodeService, initializeDocument, isRunPostProcessorLogic, lockAdditionalDocuments, nodePostProcess, processNodeInstance, setParameterService, setRouteHeaderService, setRouteNodeService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimulationEngine
public SimulationEngine()
SimulationEngine
public SimulationEngine(RouteNodeService routeNodeService,
RouteHeaderService routeHeaderService,
ParameterService parameterService,
OrchestrationConfig config)
runSimulation
public SimulationResults runSimulation(SimulationCriteria criteria)
throws Exception
- Specified by:
runSimulation
in interface SimulationWorkflowEngine
- Throws:
Exception
process
public void process(String documentId,
String nodeInstanceId)
throws InvalidActionTakenException,
DocumentSimulatedRouteException
- Specified by:
process
in interface WorkflowEngine
- Overrides:
process
in class StandardWorkflowEngine
- Throws:
InvalidActionTakenException
DocumentSimulatedRouteException
saveNode
protected void saveNode(RouteContext context,
RouteNodeInstance nodeInstance)
- Executes a "saveNode" for the simulation engine, this does not actually save the document, but rather
assigns it some simulation ids.
Resolves KULRICE-368
- Overrides:
saveNode
in class StandardWorkflowEngine
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.