public abstract class ProcessPubicListener extends BizBeanImpl implements ExecuteListenerInterface
DEFAULT_DESCRIPTION, DEFAULT_PROVIDER, DEFAULT_VERSION
构造器和说明 |
---|
ProcessPubicListener() |
限定符和类型 | 方法和说明 |
---|---|
abstract void |
call(java.lang.String eventName,
TaskInstance taskInst,
ProcessExecutionContext ctx)
所有人工任务相关行为发生时被触发(见PublicEventConst常量)
|
void |
execute(ProcessExecutionContext ctx)
已过时。
不适用
|
getDescription, getProvider, getVersion, setDescription, setProvider, setVersion, toString
getDescription, getProvider, getVersion
public void execute(ProcessExecutionContext ctx) throws java.lang.Exception
ExecuteListenerInterface
execute
在接口中 ExecuteListenerInterface
ctx
- 流程引擎提供给监听器的上下文对象java.lang.Exception
- 提升至引擎,如果抛出业务异常可使用BPMNErrorpublic abstract void call(java.lang.String eventName, TaskInstance taskInst, ProcessExecutionContext ctx)
eventName
- 事件名称,见PublicEventConst常量taskInst
- 任务实例对象,注意如果是流程类的事件,改值为nullctx
- 流程引擎提供给监听器的上下文对象,可以获取流程实例PublicEventConst
Copyright © Actionsoft Co., Ltd. All Rights Reserved.