public abstract class ControlNodeHandler extends NodeHandler
NodeHandler.Context| Modifier and Type | Field and Description |
|---|---|
static String |
FORK_COUNT_PREFIX |
XLog |
LOG |
| Constructor and Description |
|---|
ControlNodeHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
enter(NodeHandler.Context context) |
String |
exit(NodeHandler.Context context) |
void |
fail(NodeHandler.Context context) |
void |
kill(NodeHandler.Context context) |
void |
loopDetection(NodeHandler.Context context) |
List<String> |
multiExit(NodeHandler.Context context) |
abstract void |
touch(NodeHandler.Context context)
Called by
NodeHandler.enter(Context) when returning TRUE. |
getLoopFlagpublic static final String FORK_COUNT_PREFIX
public ControlNodeHandler()
public abstract void touch(NodeHandler.Context context) throws WorkflowException
NodeHandler.enter(Context) when returning TRUE.context - workflow contextWorkflowException - thrown if an error occurred.public boolean enter(NodeHandler.Context context) throws WorkflowException
enter in class NodeHandlerWorkflowExceptionpublic String exit(NodeHandler.Context context) throws WorkflowException
exit in class NodeHandlerWorkflowExceptionpublic void loopDetection(NodeHandler.Context context) throws WorkflowException
loopDetection in class NodeHandlerWorkflowExceptionpublic List<String> multiExit(NodeHandler.Context context) throws WorkflowException
multiExit in class NodeHandlerWorkflowExceptionpublic void kill(NodeHandler.Context context)
kill in class NodeHandlerpublic void fail(NodeHandler.Context context)
fail in class NodeHandlerCopyright © 2018 Apache Software Foundation. All rights reserved.