public class GraphRunner extends AbstractRunner implements ElementRunner, Serializable
Modifier and Type | Field and Description |
---|---|
static int |
MAX_LOOPS
Maximum number of steps we do before deciding that this graph is looping.
|
Constructor and Description |
---|
GraphRunner() |
Modifier and Type | Method and Description |
---|---|
void |
cancel(CoreSession session,
DocumentRouteElement element)
Cancel this element.
|
void |
resume(CoreSession session,
DocumentRouteElement element,
String nodeId,
String taskId,
Map<String,Object> varData,
String status)
Resumes this graph route on a given node.
|
void |
run(CoreSession session,
DocumentRouteElement element)
Run this element.
|
void |
run(CoreSession session,
DocumentRouteElement element,
Map<String,Serializable> map)
Run this element.
|
undo
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
undo
public static final int MAX_LOOPS
public void run(CoreSession session, DocumentRouteElement element, Map<String,Serializable> map)
ElementRunner
run
in interface ElementRunner
run
in class AbstractRunner
public void run(CoreSession session, DocumentRouteElement element)
ElementRunner
run
in interface ElementRunner
public void resume(CoreSession session, DocumentRouteElement element, String nodeId, String taskId, Map<String,Object> varData, String status)
ElementRunner
resume
in interface ElementRunner
resume
in class AbstractRunner
public void cancel(CoreSession session, DocumentRouteElement element)
ElementRunner
cancel
in interface ElementRunner
cancel
in class AbstractRunner
DocumentRouteElement.cancel(CoreSession)
Copyright © 2015 Nuxeo SA. All rights reserved.