public class StandardWorkflowEngine extends Object implements WorkflowEngine
Modifier and Type | Field and Description |
---|---|
protected OrchestrationConfig |
config |
protected RouteHelper |
helper |
protected ParameterService |
parameterService |
protected RouteHeaderService |
routeHeaderService |
protected RouteNodeService |
routeNodeService |
Modifier | Constructor and Description |
---|---|
|
StandardWorkflowEngine() |
protected |
StandardWorkflowEngine(RouteNodeService routeNodeService,
RouteHeaderService routeHeaderService,
ParameterService parameterService,
OrchestrationConfig config) |
Modifier and Type | Method and Description |
---|---|
protected ParameterService |
getParameterService() |
protected RouteHeaderService |
getRouteHeaderService() |
protected RouteNodeService |
getRouteNodeService() |
void |
initializeDocument(DocumentRouteHeaderValue document)
This method initializes the document by materializing and activating the
first node instance on the document.
|
boolean |
isRunPostProcessorLogic() |
protected void |
lockAdditionalDocuments(DocumentRouteHeaderValue document) |
protected DocumentRouteHeaderValue |
nodePostProcess(RouteContext context) |
void |
process(String documentId,
String nodeInstanceId) |
protected ProcessContext |
processNodeInstance(RouteContext context,
RouteHelper helper) |
protected void |
saveNode(RouteContext context,
RouteNodeInstance nodeInstance) |
void |
setParameterService(ParameterService parameterService) |
void |
setRouteHeaderService(RouteHeaderService routeHeaderService) |
void |
setRouteNodeService(RouteNodeService routeNodeService) |
protected final RouteHelper helper
protected RouteNodeService routeNodeService
protected RouteHeaderService routeHeaderService
protected ParameterService parameterService
protected OrchestrationConfig config
public StandardWorkflowEngine()
protected StandardWorkflowEngine(RouteNodeService routeNodeService, RouteHeaderService routeHeaderService, ParameterService parameterService, OrchestrationConfig config)
public boolean isRunPostProcessorLogic()
public void process(String documentId, String nodeInstanceId) throws Exception
process
in interface WorkflowEngine
Exception
protected ProcessContext processNodeInstance(RouteContext context, RouteHelper helper) throws Exception
Exception
protected void saveNode(RouteContext context, RouteNodeInstance nodeInstance)
protected DocumentRouteHeaderValue nodePostProcess(RouteContext context) throws InvalidActionTakenException
InvalidActionTakenException
protected void lockAdditionalDocuments(DocumentRouteHeaderValue document) throws Exception
Exception
public void initializeDocument(DocumentRouteHeaderValue document)
initializeDocument
in interface WorkflowEngine
protected RouteNodeService getRouteNodeService()
protected RouteHeaderService getRouteHeaderService()
protected ParameterService getParameterService()
public void setRouteNodeService(RouteNodeService routeNodeService)
public void setRouteHeaderService(RouteHeaderService routeHeaderService)
public void setParameterService(ParameterService parameterService)
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.