org.activiti.engine.impl.bpmn.behavior
类 BpmnActivityBehavior

java.lang.Object
  继承者 org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior
所有已实现的接口:
Serializable

public class BpmnActivityBehavior
extends Object
implements Serializable

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.

作者:
Joram Barrez
另请参见:
序列化表格

构造方法摘要
BpmnActivityBehavior()
           
 
方法摘要
 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.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

BpmnActivityBehavior

public BpmnActivityBehavior()
方法详细信息

performDefaultOutgoingBehavior

public void performDefaultOutgoingBehavior(ActivityExecution activityExceution)
Performs the default outgoing BPMN 2.0 behavior, which is having parallel paths of executions for the outgoing sequence flow. More precisely: every sequence flow that has a condition which evaluates to true (or which doesn't have a condition), is selected for continuation of the process instance. If multiple sequencer flow are selected, multiple, parallel paths of executions are created.


performIgnoreConditionsOutgoingBehavior

public 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. 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.


performOutgoingBehavior

protected void performOutgoingBehavior(ActivityExecution execution,
                                       boolean checkConditions,
                                       boolean throwExceptionIfExecutionStuck,
                                       List<ActivityExecution> reusableExecutions)
Actual implementation of leaving an activity.

参数:
execution - The current execution context
checkConditions - 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 © 2013 Alfresco. All rights reserved.