Class AbstractRunner
- java.lang.Object
-
- org.nuxeo.ecm.platform.routing.core.impl.AbstractRunner
-
- All Implemented Interfaces:
ElementRunner
- Direct Known Subclasses:
GraphRunner
,ParallelRunner
,SerialRunner
public abstract class AbstractRunner extends Object implements ElementRunner
-
-
Constructor Summary
Constructors Constructor Description AbstractRunner()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.ecm.platform.routing.core.impl.ElementRunner
run
-
-
-
-
Method Detail
-
getChildrenElement
protected List<DocumentRouteElement> getChildrenElement(CoreSession session, DocumentRouteElement element)
-
run
public void run(CoreSession session, DocumentRouteElement element, Map<String,Serializable> map)
Description copied from interface:ElementRunner
Run this element.- Specified by:
run
in interfaceElementRunner
-
resume
public void resume(CoreSession session, DocumentRouteElement element, String nodeId, String taskId, Map<String,Object> data, String status)
Description copied from interface:ElementRunner
Resumes this graph route on a given node.- Specified by:
resume
in interfaceElementRunner
-
undo
@Deprecated public void undo(CoreSession session, DocumentRouteElement element)
Deprecated.Description copied from interface:ElementRunner
Run the undo chain on this element. If this element is not a step, then throw an exception.- Specified by:
undo
in interfaceElementRunner
-
cancel
public void cancel(CoreSession session, DocumentRouteElement element)
Description copied from interface:ElementRunner
Cancel this element.- Specified by:
cancel
in interfaceElementRunner
- See Also:
DocumentRouteElement.cancel(CoreSession)
-
-