Class DbOptionsImpl

java.lang.Object
org.veupathdb.lib.container.jaxrs.config.DbOptionsImpl
All Implemented Interfaces:
DbOptions

public class DbOptionsImpl extends Object implements DbOptions
  • Constructor Details

  • Method Details

    • tnsName

      public Optional<String> tnsName()
      Description copied from interface: DbOptions
      Returns an option of a TNS Name for an Oracle database.
      Specified by:
      tnsName in interface DbOptions
    • host

      public Optional<String> host()
      Description copied from interface: DbOptions
      Returns an option of a host name for a database server.
      Specified by:
      host in interface DbOptions
    • port

      public Optional<Integer> port()
      Description copied from interface: DbOptions
      Returns an option of a port number for a database server.
      Specified by:
      port in interface DbOptions
    • name

      public Optional<String> name()
      Description copied from interface: DbOptions
      Returns an option of a name of a database to connect to.
      Specified by:
      name in interface DbOptions
    • user

      public Optional<String> user()
      Description copied from interface: DbOptions
      Returns an option of a database credentials username.
      Specified by:
      user in interface DbOptions
    • pass

      public Optional<String> pass()
      Description copied from interface: DbOptions
      Returns an option of a database credentials password.
      Specified by:
      pass in interface DbOptions
    • platform

      public Optional<org.gusdb.fgputil.db.platform.SupportedPlatform> platform()
      Description copied from interface: DbOptions
      Returns an option of a database platform type.
      Specified by:
      platform in interface DbOptions
    • poolSize

      public Optional<Integer> poolSize()
      Description copied from interface: DbOptions
      Returns an option of a database connection pool size value.
      Specified by:
      poolSize in interface DbOptions
    • displayName

      public String displayName()
      Description copied from interface: DbOptions
      Returns the display name for the database connection details.
      Specified by:
      displayName in interface DbOptions