Class MysqlCredential
java.lang.Object
dev.king.universal.wrapper.mysql.api.MysqlCredential
- All Implemented Interfaces:
UniversalCredential
public final class MysqlCredential extends java.lang.Object implements UniversalCredential
The credential security login to authenticate with mysql
Is used to grants secure system.
-
Constructor Summary
Constructors Constructor Description MysqlCredential()
-
Method Summary
Modifier and Type Method Description static MysqlCredential
fromConfiguration(@NonNull org.bukkit.configuration.ConfigurationSection section)
CreateMysqlCredential
from aConfigurationSection
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.king.universal.shared.api.credential.UniversalCredential
getDatabase, getHostname, getPassword, getUser
-
Constructor Details
-
MysqlCredential
public MysqlCredential()
-
-
Method Details
-
fromConfiguration
public static MysqlCredential fromConfiguration(@NonNull @NonNull org.bukkit.configuration.ConfigurationSection section)CreateMysqlCredential
from aConfigurationSection
- Parameters:
section
- instance of section- Returns:
- credential security
-