public interface InterruptListenerInterface extends BizBeanInterface
DEFAULT_DESCRIPTION, DEFAULT_PROVIDER, DEFAULT_VERSION
限定符和类型 | 方法和说明 |
---|---|
boolean |
execute(ProcessExecutionContext ctx)
执行业务逻辑,根据返回的值决定是否中断后继操作
|
getDescription, getProvider, getVersion
boolean execute(ProcessExecutionContext ctx) throws java.lang.Exception
ctx
- 流程引擎提供给监听器的上下文对象java.lang.Exception
- 提升至引擎,如果抛出业务异常可使用BPMNErrorCopyright © Actionsoft Co., Ltd. All Rights Reserved.