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

cn.handyplus.lib.annotation.HandySubCommand Maven / Gradle / Ivy

package cn.handyplus.lib.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 子命令
 *
 * @author handy
 */
@Documented
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface HandySubCommand {

    /**
     * 父命令
     *
     * @return 父命令
     */
    String mainCommand();

    /**
     * 子命令
     *
     * @return 子命令
     */
    String subCommand();

    /**
     * 子命令权限
     *
     * @return 子命令权限
     */
    String permission() default "";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy