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

📄 assignmenthandler.java

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

/**
 * is called when execution arrives in a {@link org.jbpm.model.definition.State}
 * and must select the actorId that the process is wait for.
 * 
 * <p>Specifying a state in a business process means that further execution depends
 * on some exteral swimlane (external from jbpm system, that it).  The AssignmentHandler must 
 * calculate that swimlane.     
 * </p> 
 */
public interface AssignmentHandler {
	
  /**
   * calculates on which swimlane the process will be waiting when execution arrives in a state.
   * @param assignerContext is the object that allows the Assigner-implementator to communicate with the jBpm process engine.
   * @return the actorId.  Watch it ! returning null causes a NoActorException to be thrown out
   * of the called ExecutionService method ({@link org.jbpm.ExecutionService#startProcessInstance(String,Long,Map,String)}
   * of {@link org.jbpm.ExecutionService#startProcessInstance(String,Long,Map,String)})
   */
  String selectActor( AssignmentContext assignerContext );
}

⌨️ 快捷键说明

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