public abstract class AbstractRunner extends Object implements ElementRunner
Constructor and Description |
---|
AbstractRunner() |
Modifier and Type | Method and Description |
---|---|
void |
cancel(CoreSession session,
DocumentRouteElement element)
Cancel this element.
|
protected List<DocumentRouteElement> |
getChildrenElement(CoreSession session,
DocumentRouteElement element) |
void |
resume(CoreSession session,
DocumentRouteElement element,
String nodeId,
String taskId,
Map<String,Object> data,
String status)
Resumes this graph route on a given node.
|
void |
run(CoreSession session,
DocumentRouteElement element,
Map<String,Serializable> map)
Run this element.
|
void |
undo(CoreSession session,
DocumentRouteElement element)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
public AbstractRunner()
protected List<DocumentRouteElement> getChildrenElement(CoreSession session, DocumentRouteElement element)
public void run(CoreSession session, DocumentRouteElement element, Map<String,Serializable> map)
ElementRunner
run
in interface ElementRunner
public void resume(CoreSession session, DocumentRouteElement element, String nodeId, String taskId, Map<String,Object> data, String status)
ElementRunner
resume
in interface ElementRunner
@Deprecated public void undo(CoreSession session, DocumentRouteElement element)
ElementRunner
undo
in interface ElementRunner
public void cancel(CoreSession session, DocumentRouteElement element)
ElementRunner
cancel
in interface ElementRunner
DocumentRouteElement.cancel(CoreSession)
Copyright © 2017 Nuxeo. All rights reserved.