Class SimulationEngine
java.lang.Object
org.kuali.rice.kew.engine.StandardWorkflowEngine
org.kuali.rice.kew.engine.simulation.SimulationEngine
- All Implemented Interfaces:
SimulationWorkflowEngine,WorkflowEngine
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)
-
Field Summary
Fields inherited from class org.kuali.rice.kew.engine.StandardWorkflowEngine
config, helper, parameterService, routeHeaderService, routeNodeService -
Constructor Summary
ConstructorsConstructorDescriptionSimulationEngine(RouteNodeService routeNodeService, RouteHeaderService routeHeaderService, org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService, OrchestrationConfig config) -
Method Summary
Modifier and TypeMethodDescriptionvoidrunSimulation(SimulationCriteria criteria) protected RouteNodeInstancesaveNode(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.Methods inherited from class org.kuali.rice.kew.engine.StandardWorkflowEngine
flushDatabaseWork, getParameterService, getRouteHeaderService, getRouteNodeService, initializeDocument, isRunPostProcessorLogic, lockAdditionalDocuments, nodePostProcess, processNodeInstance, setParameterService, setRouteHeaderService, setRouteNodeServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kuali.rice.kew.engine.WorkflowEngine
initializeDocument
-
Constructor Details
-
SimulationEngine
public SimulationEngine() -
SimulationEngine
public SimulationEngine(RouteNodeService routeNodeService, RouteHeaderService routeHeaderService, org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService, OrchestrationConfig config)
-
-
Method Details
-
runSimulation
- Specified by:
runSimulationin interfaceSimulationWorkflowEngine- Throws:
Exception
-
process
public void process(String documentId) throws org.kuali.rice.kew.api.exception.InvalidActionTakenException, org.kuali.rice.kew.api.exception.DocumentSimulatedRouteException - Specified by:
processin interfaceWorkflowEngine- Overrides:
processin classStandardWorkflowEngine- Throws:
org.kuali.rice.kew.api.exception.InvalidActionTakenExceptionorg.kuali.rice.kew.api.exception.DocumentSimulatedRouteException
-
saveNode
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:
saveNodein classStandardWorkflowEngine
-