public ProcessNodeTriggeredEventImpl(final NodeInstance nodeInstance, KnowledgeRuntime kruntime) { super( nodeInstance.getProcessInstance(), kruntime ); this.nodeInstance = nodeInstance; }
public ProcessInstance getProcessInstance() { if (processInstance != null) { return processInstance; } if (nodeInstance != null) { return (ProcessInstance) nodeInstance.getProcessInstance(); } return null; }
public ProcessNodeLeftEventImpl(final NodeInstance nodeInstance, KnowledgeRuntime kruntime) { super( nodeInstance.getProcessInstance(), kruntime ); this.nodeInstance = nodeInstance; }