疯狂的狮子Li
2025-01-14 dd54cc972a251112359d1d8acbdce8cd3221ffd1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package org.dromara.workflow.common;
 
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
 
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
 
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE, ElementType.METHOD })
@ConditionalOnProperty(value = "work-flow.enabled", havingValue = "true")
public @interface ConditionalOnEnable {
}