Class DatabaseCredentials
java.lang.Object
fr.fuzeblocks.homeplugin.database.DatabaseCredentials
The type Database credentials.
-
Constructor Summary
ConstructorsConstructorDescriptionDatabaseCredentials(String host, String user, String pass, String database, int port) Instantiates a new Database credentials. -
Method Summary
-
Constructor Details
-
DatabaseCredentials
Instantiates a new Database credentials.- Parameters:
host- the hostuser- the userpass- the passdatabase- the databaseport- the port
-
-
Method Details
-
toURI
To uri string.- Returns:
- the string
-
getHost
Gets host.- Returns:
- the host
-
getUser
Gets user.- Returns:
- the user
-
getPass
Gets pass.- Returns:
- the pass
-
getDatabase
Gets database.- Returns:
- the database
-
getPort
public int getPort()Gets port.- Returns:
- the port
-