public interface Application<CONFIG extends BaseConfiguration>
| Modifier and Type | Method and Description |
|---|---|
void |
after(CQCodeUtil cqCodeUtil,
MsgSender sender) |
default String |
author()
这个方法不需要重写了啦!
|
void |
before(CONFIG configuration) |
default Class<?> |
getApplicationClass()
获取Application启动器的Class,默认情况下即获取自己的Class。
无特殊需求不要重写。
|
default Package |
getPackage()
获取启动器的包路径。默认情况下即获取当前类的包路径。
无特殊需求不要重写。
|
void before(CONFIG configuration)
void after(CQCodeUtil cqCodeUtil, MsgSender sender)
default Class<?> getApplicationClass()
default String author()
Copyright © 2020. All rights reserved.