public void removeEventListeners() { ((WorkflowProcessInstance) getProcessInstance()).removeEventListener("timerTriggered", this, false); ((WorkflowProcessInstance) getProcessInstance()).removeEventListener("timer", this, true); ((WorkflowProcessInstance) getProcessInstance()).removeEventListener("slaViolation:" + getId(), this, true); }
public void removeEventListeners() { super.removeEventListeners(); getProcessInstance().removeEventListener("workItemCompleted", this, false); getProcessInstance().removeEventListener("workItemAborted", this, false); }
public void removeEventListeners() { super.removeEventListeners(); getProcessInstance().removeEventListener("signal", this, false); getProcessInstance().removeEventListener(getActivationEventType(), this, true); }
public void removeEventListeners() { super.removeEventListeners(); ((WorkflowProcessInstance) getProcessInstance()).removeEventListener("timerTriggered", this, false); }
public void removeEventListeners() { super.removeEventListeners(); getProcessInstance().removeEventListener("processInstanceCompleted:" + processInstanceId, this, true); }
public void removeExceptionProcessListeners() { super.removeEventListeners(); getProcessInstance().removeEventListener("processInstanceCompleted:" + exceptionHandlingProcessInstanceId, this, true); }
private void removeActivationListener() { getProcessInstance().removeEventListener(getActivationType(), this, true); }
public void removeTimerListeners() { ((WorkflowProcessInstance) getProcessInstance()).removeEventListener("timerTriggered", new VariableExternalEventListener("timerTriggered"), false); ((WorkflowProcessInstance) getProcessInstance()).removeEventListener("timer", new VariableExternalEventListener("timer"), true); ((WorkflowProcessInstance) getProcessInstance()).removeEventListener("slaViolation:" + getId(), new VariableExternalEventListener("slaViolation"), true); }
public void removeEventListeners() { super.removeEventListeners(); getProcessInstance().removeEventListener(getRuleSetEventType(), this, true); }
@Override public void cancel() { getProcessInstance().removeEventListener(getEventType(), getEventListener(), true); removeTimerListeners(); if (this.slaCompliance == ProcessInstance.SLA_PENDING) { if (System.currentTimeMillis() > slaDueDate.getTime()) { // completion of the process instance is after expected SLA due date, mark it accordingly this.slaCompliance = ProcessInstance.SLA_VIOLATED; } else { this.slaCompliance = ProcessInstance.SLA_ABORTED; } } removeTimerListeners(); super.cancel(); }
@Override public void cancel() { getProcessInstance().removeEventListener(getEventType(), getEventListener(), true); ((NodeInstanceContainer) getNodeInstanceContainer()).removeNodeInstance(this); } }
public void triggerCompleted() { getProcessInstance().removeEventListener(getEventType(), getEventListener(), true); removeTimerListeners(); if (this.slaCompliance == ProcessInstance.SLA_PENDING) { if (System.currentTimeMillis() > slaDueDate.getTime()) { // completion of the node instance is after expected SLA due date, mark it accordingly this.slaCompliance = ProcessInstance.SLA_VIOLATED; } else { this.slaCompliance = ProcessInstance.STATE_COMPLETED; } } cancelSlaTimer(); ((org.jbpm.workflow.instance.NodeInstanceContainer)getNodeInstanceContainer()).setCurrentLevel(getLevel()); triggerCompleted(org.jbpm.workflow.core.Node.CONNECTION_DEFAULT_TYPE, true); }
public void removeEventListeners() { super.removeEventListeners(); getProcessInstance().getKnowledgeRuntime().removeEventListener(this); getProcessInstance().removeEventListener(getActivationEventType(), this, true); }
public void removeEventListeners() { super.removeEventListeners(); getProcessInstance().getKnowledgeRuntime().removeEventListener(this); getProcessInstance().removeEventListener(getActivationEventType(), this, true); }
@Override public void triggerCompleted() { getProcessInstance().removeEventListener(getEventType(), getEventListener(), true); ((org.jbpm.workflow.instance.NodeInstanceContainer)getNodeInstanceContainer()).setCurrentLevel(getLevel()); ((org.jbpm.workflow.instance.NodeInstanceContainer) getNodeInstanceContainer()).removeNodeInstance(this); NodeInstance instance = ((org.jbpm.workflow.instance.NodeInstanceContainer) getNodeInstanceContainer()).getNodeInstance(getNode()); triggerNodeInstance((org.jbpm.workflow.instance.NodeInstance) instance, NodeImpl.CONNECTION_DEFAULT_TYPE); }
public void removeEventListeners() { ((WorkflowProcessInstance) getProcessInstance()).removeEventListener("timerTriggered", this, false); ((WorkflowProcessInstance) getProcessInstance()).removeEventListener("timer", this, true); ((WorkflowProcessInstance) getProcessInstance()).removeEventListener("slaViolation:" + getId(), this, true); }
public void removeEventListeners() { super.removeEventListeners(); getProcessInstance().removeEventListener("workItemCompleted", this, false); getProcessInstance().removeEventListener("workItemAborted", this, false); }
public void removeEventListeners() { super.removeEventListeners(); getProcessInstance().removeEventListener("signal", this, false); getProcessInstance().removeEventListener(getActivationEventType(), this, true); }
public void removeTimerListeners() { ((WorkflowProcessInstance) getProcessInstance()).removeEventListener("timerTriggered", new VariableExternalEventListener("timerTriggered"), false); ((WorkflowProcessInstance) getProcessInstance()).removeEventListener("timer", new VariableExternalEventListener("timer"), true); ((WorkflowProcessInstance) getProcessInstance()).removeEventListener("slaViolation:" + getId(), new VariableExternalEventListener("slaViolation"), true); }
public void removeEventListeners() { super.removeEventListeners(); getProcessInstance().getKnowledgeRuntime().removeEventListener(this); getProcessInstance().removeEventListener(getActivationEventType(), this, true); }