Class DatabaseCredentials

java.lang.Object
fr.fuzeblocks.homeplugin.database.DatabaseCredentials

public class DatabaseCredentials extends Object
The type Database credentials.
  • Constructor Details

    • DatabaseCredentials

      public DatabaseCredentials(String host, String user, String pass, String database, int port)
      Instantiates a new Database credentials.
      Parameters:
      host - the host
      user - the user
      pass - the pass
      database - the database
      port - the port
  • Method Details

    • toURI

      public String toURI()
      To uri string.
      Returns:
      the string
    • getHost

      public String getHost()
      Gets host.
      Returns:
      the host
    • getUser

      public String getUser()
      Gets user.
      Returns:
      the user
    • getPass

      public String getPass()
      Gets pass.
      Returns:
      the pass
    • getDatabase

      public String getDatabase()
      Gets database.
      Returns:
      the database
    • getPort

      public int getPort()
      Gets port.
      Returns:
      the port