All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.wuwenbin.modules.scanner.annotation.ResourceScan Maven / Gradle / Ivy

There is a newer version: 1.11.0.RELEASE
Show newest version
package me.wuwenbin.modules.scanner.annotation;

import java.lang.annotation.*;

/**
 * created by Wuwenbin on 2017/9/19 at 9:46
 */
@Inherited
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ResourceScan {

    /**
     * 资源名称
     *
     * @return
     */
    String value();

    /**
     * 是否可用,默认可用
     *
     * @return
     */
    boolean enabled() default true;

    /**
     * 排序字段
     *
     * @return
     */
    int orderIndex() default 0;

    /**
     * 资源备注说明
     *
     * @return
     */
    String remark() default "";

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy