⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 decisionhandler.java

📁 一个java工作流引擎
💻 JAVA
字号:
package org.jbpm.delegation;

/**
 * decides between multiple alternative paths of execution.
 * A decision must at least have 2 leaving transitions.
 * Note that another mechanism to choose between multiple paths of execution is
 * by specifying multiple transitions leaving a {@link org.jbpm.model.definition.State}.
 * In that case, the client must specify the transitionName in 
 * {@link  org.jbpm.ExecutionService#endOfState(String,Long,Map,String)}.
 */
public interface DecisionHandler {

  /**
   * decides which of the {@link org.jbpm.model.definition.Transition}'s, leaving the 
   * {@link org.jbpm.model.definition.Decision}-node, has to be taken. 
   * @param executionContext provides access to the process context in which this decision is executed.
   * @return the name of the choosen {@link org.jbpm.model.definition.Transition}.
   */
  String decide( ExecutionContext executionContext );
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -