assignmenthandler.java
来自「一个java工作流引擎」· Java 代码 · 共 23 行
JAVA
23 行
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 + =
减小字号Ctrl + -
显示快捷键?