use of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior in project camunda-bpm-platform by camunda.
the class AbstractAtomicOperationCaseExecutionResume method eventNotificationsStarted.
protected CmmnExecution eventNotificationsStarted(CmmnExecution execution) {
CmmnActivityBehavior behavior = getActivityBehavior(execution);
triggerBehavior(behavior, execution);
CaseExecutionState newState = getPreviousState(execution);
execution.setCurrentState(newState);
return execution;
}
use of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior in project camunda-bpm-platform by camunda.
the class AbstractAtomicOperationCaseExecutionSuspending method execute.
public void execute(CmmnExecution execution) {
execution.setCurrentState(getSuspendingState());
CmmnActivityBehavior behavior = getActivityBehavior(execution);
triggerBehavior(behavior, execution);
}
use of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior in project camunda-bpm-platform by camunda.
the class AbstractAtomicOperationCaseExecutionTerminating method execute.
public void execute(CmmnExecution execution) {
execution.setCurrentState(getTerminatingState());
CmmnActivityBehavior behavior = getActivityBehavior(execution);
triggerBehavior(behavior, execution);
}
use of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior in project camunda-bpm-platform by camunda.
the class AtomicOperationCaseExecutionDisable method eventNotificationsStarted.
protected CmmnExecution eventNotificationsStarted(CmmnExecution execution) {
CmmnActivityBehavior behavior = getActivityBehavior(execution);
behavior.onDisable(execution);
execution.setCurrentState(DISABLED);
return execution;
}
use of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior in project camunda-bpm-platform by camunda.
the class AtomicOperationCaseExecutionManualStart method eventNotificationsStarted.
protected CmmnExecution eventNotificationsStarted(CmmnExecution execution) {
CmmnActivityBehavior behavior = getActivityBehavior(execution);
behavior.onManualStart(execution);
execution.setCurrentState(ACTIVE);
return execution;
}
Aggregations