feat: 帮助注解 排序注解 设置必填项

Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
502647092 2016-07-25 13:55:11 +08:00
parent ad4126a810
commit 7a60e673cc
2 changed files with 14 additions and 14 deletions

View File

@ -35,7 +35,7 @@ public @interface Help {
/** /**
* @return 命令描述 * @return 命令描述
*/ */
String description() default ""; String description();
/** /**
* @return 当前命令可能需要的参数 * @return 当前命令可能需要的参数

View File

@ -1,13 +1,13 @@
package pw.yumc.YumCore.commands.annotation; package pw.yumc.YumCore.commands.annotation;
/** /**
* *
* @since 2016年7月23日 上午9:04:56 * @since 2016年7月23日 上午9:04:56
* @author * @author
*/ */
public @interface Sort { public @interface Sort {
/** /**
* @return 命令排序 * @return 命令排序
*/ */
int sort() default 50; int sort();
} }