mirror of
https://github.com/CarmJos/MineSQL.git
synced 2026-06-05 00:48:16 +08:00
add getSqlManager method
This commit is contained in:
+11
@@ -1,4 +1,15 @@
|
||||
package cc.carm.plugin.easysql.api;
|
||||
|
||||
import cc.carm.lib.easysql.api.SQLManager;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public interface EasySQLPluginPlatform {
|
||||
/**
|
||||
* 获取 SQL 管理器
|
||||
* @param name 注册键
|
||||
* @return SQL管理器
|
||||
*/
|
||||
@Nullable
|
||||
SQLManager getSqlManager(@NotNull String name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user