|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.bpmn.behavior.BpmnActivityBehavior
public class BpmnActivityBehavior
Helper class for implementing BPMN 2.0 activities, offering convenience methods specific to BPMN 2.0. This class can be used by inheritance or aggregation.
| Constructor Summary | |
|---|---|
BpmnActivityBehavior()
|
|
| Method Summary | |
|---|---|
protected boolean |
isAncestorCompensationThrowing(ActivityExecution execution)
|
void |
performDefaultOutgoingBehavior(ActivityExecution activityExceution)
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BpmnActivityBehavior()
| Method Detail |
|---|
public void performDefaultOutgoingBehavior(ActivityExecution activityExceution)
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 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 ProcessEngineException will be thrown in case no
transition could be found to leave the activity.protected boolean isAncestorCompensationThrowing(ActivityExecution execution)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||