use of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior in project camunda-bpm-platform by camunda.
the class AbstractAtomicOperationCaseExecutionSuspend method notifyParent.
protected void notifyParent(CmmnExecution parent, CmmnExecution execution) {
CmmnActivityBehavior behavior = getActivityBehavior(parent);
if (behavior instanceof CmmnCompositeActivityBehavior) {
CmmnCompositeActivityBehavior compositeBehavior = (CmmnCompositeActivityBehavior) behavior;
compositeBehavior.handleChildSuspension(parent, execution);
}
}
use of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior in project camunda-bpm-platform by camunda.
the class AbstractCmmnEventAtomicOperation method repetition.
protected void repetition(CmmnExecution execution) {
CmmnActivityBehavior behavior = getActivityBehavior(execution);
behavior.repeat(execution, getEventName());
}
use of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior in project camunda-bpm-platform by camunda.
the class AtomicOperationCaseExecutionReactivate method eventNotificationsStarted.
protected CmmnExecution eventNotificationsStarted(CmmnExecution execution) {
CmmnActivityBehavior behavior = getActivityBehavior(execution);
behavior.onReactivation(execution);
execution.setCurrentState(ACTIVE);
return execution;
}
use of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior in project camunda-bpm-platform by camunda.
the class AtomicOperationCaseInstanceCreate method postTransitionNotification.
protected void postTransitionNotification(CmmnExecution execution) {
// the case instance is associated with the
// casePlanModel as activity
CmmnActivityBehavior behavior = getActivityBehavior(execution);
// perform start() on associated behavior
// because the case instance is ACTIVE
behavior.started(execution);
}
Aggregations