From d514cb8d0e167d129d37e2845a6751904aec0817 Mon Sep 17 00:00:00 2001 From: carm Date: Sat, 29 Jan 2022 21:47:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=83=A8=E7=BD=B2=E4=B8=8E?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cc/carm/plugin/easysql/api/EasySQLAPI.java | 2 +- .../carm/plugin/easysql/api/SQLConfiguration.java | 15 +++++++++++++++ .../carm/plugin/easysql/hook/UpdateChecker.java | 4 ++++ pom.xml | 4 ++-- 4 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 easysql-plugin-api/src/main/java/cc/carm/plugin/easysql/api/SQLConfiguration.java create mode 100644 easysql-plugin-impl/src/main/java/cc/carm/plugin/easysql/hook/UpdateChecker.java diff --git a/easysql-plugin-api/src/main/java/cc/carm/plugin/easysql/api/EasySQLAPI.java b/easysql-plugin-api/src/main/java/cc/carm/plugin/easysql/api/EasySQLAPI.java index 899d323..bf16b2b 100644 --- a/easysql-plugin-api/src/main/java/cc/carm/plugin/easysql/api/EasySQLAPI.java +++ b/easysql-plugin-api/src/main/java/cc/carm/plugin/easysql/api/EasySQLAPI.java @@ -8,7 +8,7 @@ import org.jetbrains.annotations.Nullable; */ public class EasySQLAPI { - public static @Nullable SQLManager getSQLManager(@Nullable String database) { + public static @Nullable SQLManager getSQLManager(@Nullable String name) { return null; } diff --git a/easysql-plugin-api/src/main/java/cc/carm/plugin/easysql/api/SQLConfiguration.java b/easysql-plugin-api/src/main/java/cc/carm/plugin/easysql/api/SQLConfiguration.java new file mode 100644 index 0000000..2ec65f8 --- /dev/null +++ b/easysql-plugin-api/src/main/java/cc/carm/plugin/easysql/api/SQLConfiguration.java @@ -0,0 +1,15 @@ +package cc.carm.plugin.easysql.api; + +public class SQLConfiguration { + + String driver; + + String address; + int port; + + String database; + + String username; + String password; + +} diff --git a/easysql-plugin-impl/src/main/java/cc/carm/plugin/easysql/hook/UpdateChecker.java b/easysql-plugin-impl/src/main/java/cc/carm/plugin/easysql/hook/UpdateChecker.java new file mode 100644 index 0000000..32cb59a --- /dev/null +++ b/easysql-plugin-impl/src/main/java/cc/carm/plugin/easysql/hook/UpdateChecker.java @@ -0,0 +1,4 @@ +package cc.carm.plugin.easysql.hook; + +public class UpdateChecker { +} diff --git a/pom.xml b/pom.xml index 6fe1f5b..533fa97 100644 --- a/pom.xml +++ b/pom.xml @@ -10,8 +10,8 @@ ${java.version} UTF-8 UTF-8 - 1.3.5 - 0.3.1 + 1.3.7 + 0.3.5 cc.carm.plugin