Class DatabaseWrapper

    • Constructor Detail

      • DatabaseWrapper

        public DatabaseWrapper()
    • Method Detail

      • start

        public abstract void start()
                            throws Exception
        Start the database if possible and ensure it can be connected to. If the database is managed externally, just ensure it can be connected to.
        Throws:
        Exception
      • stop

        public abstract void stop()
                           throws Exception
        Stop the database if possible. If the database is managed externally, do not actually stop it.
        Throws:
        Exception
      • getUsername

        public abstract String getUsername()
      • getUrl

        public abstract String getUrl()
      • describe

        public abstract String describe()
        Describes the configuration of this wrapper. Used in outputting to user how this connection is configured.