public void onResume(CmmnActivityExecution execution) { ensureNotCaseInstance(execution, "resume"); ensureTransitionAllowed(execution, SUSPENDED, ACTIVE, "resume"); CmmnActivityExecution parent = execution.getParent(); if (parent != null) { if (!parent.isActive()) { String id = execution.getId(); throw LOG.resumeInactiveCaseException("resume", id); } } resuming(execution); }
public void onParentResume(CmmnActivityExecution execution) { ensureNotCaseInstance(execution, "parentResume"); String id = execution.getId(); if (!execution.isSuspended()) { throw LOG.wrongCaseStateException("parentResume", id, "resume", "suspended", execution.getCurrentState().toString()); } CmmnActivityExecution parent = execution.getParent(); if (parent != null) { if (!parent.isActive()) { throw LOG.resumeInactiveCaseException("parentResume", id); } } resuming(execution); }
public void onResume(CmmnActivityExecution execution) { ensureNotCaseInstance(execution, "resume"); ensureTransitionAllowed(execution, SUSPENDED, ACTIVE, "resume"); CmmnActivityExecution parent = execution.getParent(); if (parent != null) { if (!parent.isActive()) { String id = execution.getId(); throw LOG.resumeInactiveCaseException("resume", id); } } resuming(execution); }
public void onParentResume(CmmnActivityExecution execution) { ensureNotCaseInstance(execution, "parentResume"); String id = execution.getId(); if (!execution.isSuspended()) { throw LOG.wrongCaseStateException("parentResume", id, "resume", "suspended", execution.getCurrentState().toString()); } CmmnActivityExecution parent = execution.getParent(); if (parent != null) { if (!parent.isActive()) { throw LOG.resumeInactiveCaseException("parentResume", id); } } resuming(execution); }
public void onResume(CmmnActivityExecution execution) { ensureNotCaseInstance(execution, "resume"); ensureTransitionAllowed(execution, SUSPENDED, ACTIVE, "resume"); CmmnActivityExecution parent = execution.getParent(); if (parent != null) { if (!parent.isActive()) { String id = execution.getId(); throw LOG.resumeInactiveCaseException("resume", id); } } resuming(execution); }
public void onParentResume(CmmnActivityExecution execution) { ensureNotCaseInstance(execution, "parentResume"); String id = execution.getId(); if (!execution.isSuspended()) { throw LOG.wrongCaseStateException("parentResume", id, "resume", "suspended", execution.getCurrentState().toString()); } CmmnActivityExecution parent = execution.getParent(); if (parent != null) { if (!parent.isActive()) { throw LOG.resumeInactiveCaseException("parentResume", id); } } resuming(execution); }