Class DBInitializationCommand

  • All Implemented Interfaces:
    InitializationCommand
    Direct Known Subclasses:
    DBCreate, DBDrop

    public abstract class DBInitializationCommand
    extends java.lang.Object
    implements InitializationCommand
    Parent class for all database initialization related commands. This class provides methods to obtain username and password for the database.
    Author:
    Jettro Coenradie
    • Constructor Summary

      Constructors 
      Constructor Description
      DBInitializationCommand​(java.lang.String userName, java.lang.String password)
      The userName and password for the database on which the command needs to be performed
    • Constructor Detail

      • DBInitializationCommand

        public DBInitializationCommand​(java.lang.String userName,
                                       java.lang.String password)
        The userName and password for the database on which the command needs to be performed
        Parameters:
        userName - String containing the mandatory database username
        password - String containing the mandatory database password