
edi.rule.annotation.JSRuleModelField Maven / Gradle / Ivy
package edi.rule.annotation;
import edi.rule.extend.interfaces.IJSRuleModelFieldProcessor;
import edi.rule.work.processor.JSRuleDefaultMFProcessor;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.annotation.ElementType;
/**
* @author 摩拉克斯
* @date 2021年12月27日 上午10:30:08
* 用于标记需要对字段进行处理的注解,所标记的字段类型应实现{@link IJSRuleModelFieldProcessor}接口
*/
@Documented
@Retention(value = RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD })
public @interface JSRuleModelField {
/**
*
被注解标记的字段将由哪个处理器进行处理
* */
Class extends IJSRuleModelFieldProcessor> type() default JSRuleDefaultMFProcessor.class;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy