1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package org.dromara.workflow.annotation;
 
 
import java.lang.annotation.*;
 
/**
 * 流程任务监听注解
 *
 * @author may
 * @date 2023-12-27
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface FlowListenerAnnotation {
 
    /**
     * 流程定义key
     */
    String processDefinitionKey();
 
    /**
     * 节点id
     */
    String taskDefId() default "";
}