public class BpmnActivityBehavior extends Object implements Serializable
| Constructor and Description |
|---|
BpmnActivityBehavior() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatchJobCanceledEvents(ActivityExecution activityExecution)
dispatch job canceled event for job associated with given execution entity
|
void |
performDefaultOutgoingBehavior(ActivityExecution activityExecution)
Performs the default outgoing BPMN 2.0 behavior, which is having parallel
paths of executions for the outgoing sequence flow.
|
void |
performIgnoreConditionsOutgoingBehavior(ActivityExecution activityExecution)
Performs the default outgoing BPMN 2.0 behavior (@see
performDefaultOutgoingBehavior(ActivityExecution)), but without
checking the conditions on the outgoing sequence flow. |
protected void |
performOutgoingBehavior(ActivityExecution execution,
boolean checkConditions,
boolean throwExceptionIfExecutionStuck,
List<ActivityExecution> reusableExecutions)
Actual implementation of leaving an activity.
|
public void performDefaultOutgoingBehavior(ActivityExecution activityExecution)
public void performIgnoreConditionsOutgoingBehavior(ActivityExecution activityExecution)
performDefaultOutgoingBehavior(ActivityExecution)), but without
checking the conditions on the outgoing sequence flow.
This means that every outgoing sequence flow is selected for continuing the
process instance, regardless of having a condition or not. In case of
multiple outgoing sequence flow, multiple parallel paths of executions will
be created.protected void dispatchJobCanceledEvents(ActivityExecution activityExecution)
activityExecution - protected void performOutgoingBehavior(ActivityExecution execution, boolean checkConditions, boolean throwExceptionIfExecutionStuck, List<ActivityExecution> reusableExecutions)
execution - The current execution contextcheckConditions - Whether or not to check conditions before determining whether or
not to take a transition.throwExceptionIfExecutionStuck - If true, an ActivitiException will be thrown in case no
transition could be found to leave the activity.Copyright © 2016 Alfresco. All rights reserved.