public void onOccur(CmmnActivityExecution execution) { ensureTransitionAllowed(execution, AVAILABLE, COMPLETED, "occur"); }
public void onOccur(CmmnActivityExecution execution) { ensureTransitionAllowed(execution, AVAILABLE, COMPLETED, "occur"); }
public void onSuspension(CmmnActivityExecution execution) { ensureTransitionAllowed(execution, AVAILABLE, SUSPENDED, "suspend"); performSuspension(execution); }
public void onSuspension(CmmnActivityExecution execution) { ensureTransitionAllowed(execution, AVAILABLE, SUSPENDED, "suspend"); performSuspension(execution); }
public void onTermination(CmmnActivityExecution execution) { ensureTransitionAllowed(execution, AVAILABLE, TERMINATED, "terminate"); performTerminate(execution); }
public void onTermination(CmmnActivityExecution execution) { ensureTransitionAllowed(execution, AVAILABLE, TERMINATED, "terminate"); performTerminate(execution); }
public void onResume(CmmnActivityExecution execution) { ensureTransitionAllowed(execution, SUSPENDED, AVAILABLE, "resume"); CmmnActivityExecution parent = execution.getParent(); if (parent != null) { if (!parent.isActive()) { String id = execution.getId(); throw LOG.resumeInactiveCaseException("resume", id); } } resuming(execution); }
public void onResume(CmmnActivityExecution execution) { ensureTransitionAllowed(execution, SUSPENDED, AVAILABLE, "resume"); CmmnActivityExecution parent = execution.getParent(); if (parent != null) { if (!parent.isActive()) { String id = execution.getId(); throw LOG.resumeInactiveCaseException("resume", id); } } resuming(execution); }
public void onOccur(CmmnActivityExecution execution) { ensureTransitionAllowed(execution, AVAILABLE, COMPLETED, "occur"); }
public void onSuspension(CmmnActivityExecution execution) { ensureTransitionAllowed(execution, AVAILABLE, SUSPENDED, "suspend"); performSuspension(execution); }
public void onTermination(CmmnActivityExecution execution) { ensureTransitionAllowed(execution, AVAILABLE, TERMINATED, "terminate"); performTerminate(execution); }
public void onResume(CmmnActivityExecution execution) { ensureTransitionAllowed(execution, SUSPENDED, AVAILABLE, "resume"); CmmnActivityExecution parent = execution.getParent(); if (parent != null) { if (!parent.isActive()) { String id = execution.getId(); throw LOG.resumeInactiveCaseException("resume", id); } } resuming(execution); }