houzhongyi
2024-07-11 e7c1260db32209a078a962aaa0ad5492c35774fb
提交 | 用户 | 时间
e7c126 1 package com.iailab.module.bpm.framework.flowable.core.listener.demo.task;
H 2
3 import lombok.extern.slf4j.Slf4j;
4 import org.flowable.task.service.delegate.DelegateTask;
5 import org.springframework.stereotype.Component;
6
7 /**
8  * 类型为 expression 的 TaskListener 监听器示例
9  *
10  * @author iailab
11  */
12 @Slf4j
13 @Component
14 public class DemoSpringExpressionTaskListener {
15
16     public void notify(DelegateTask delegateTask) {
17         log.info("[execute][task({}) 被调用]", delegateTask.getId());
18     }
19
20 }