/** * called by the implementation of this node to continue execution over the default * transition. */ public void leave(ExecutionContext executionContext) { leave(executionContext, getDefaultLeavingTransition()); }
/** * called by the implementation of this node to continue execution over the default * transition. */ public void leave(ExecutionContext executionContext) { leave(executionContext, getDefaultLeavingTransition()); }
void signal(ExecutionContext executionContext) { signal(node.getDefaultLeavingTransition(), executionContext); }
void signal(ExecutionContext executionContext) { signal(node.getDefaultLeavingTransition(), executionContext); }
/** * sends a signal to this token. leaves the current {@link #getNode() node} over the default * transition. */ public void signal() { if (node == null) { throw new JbpmException(this + " is not positioned in a node"); } Transition defaultTransition = node.getDefaultLeavingTransition(); if (defaultTransition == null) { throw new JbpmException(node + " has no default transition"); } signal(defaultTransition, new ExecutionContext(this)); }
/** * sends a signal to this token. leaves the current {@link #getNode() node} over the default * transition. */ public void signal() { if (node == null) { throw new JbpmException(this + " is not positioned in a node"); } Transition defaultTransition = node.getDefaultLeavingTransition(); if (defaultTransition == null) { throw new JbpmException(node + " has no default transition"); } signal(defaultTransition, new ExecutionContext(this)); }