Class DbCreateTask


  • public class DbCreateTask
    extends java.lang.Object
    A DbCreateTask represents a set of instructions that can be used to create, possibly fill, and alter a database. It can be used only once. The enum Type indicates what kind of tasks will be executed and the state of the task.
    • Method Detail

      • getExcelWorkbookPathForDataInsert

        public java.nio.file.Path getExcelWorkbookPathForDataInsert()
        Returns:
        the path to the Excel workbook to be used for inserting data, may be null
      • getInsertTableOrder

        public java.util.List<java.lang.String> getInsertTableOrder()
        Returns:
        a list of table names in the order in which they need to be inserted. May be empty
      • getCreationScriptCommands

        public java.util.List<java.lang.String> getCreationScriptCommands()
        Returns:
        a list of all the commands that were in the creation script, may be empty
      • getTableCommands

        public java.util.List<java.lang.String> getTableCommands()
        Returns:
        a list of the create table commands, may be empty
      • getInsertCommands

        public java.util.List<java.lang.String> getInsertCommands()
        Returns:
        a list of the insert commands, may be empty
      • getAlterCommands

        public java.util.List<java.lang.String> getAlterCommands()
        Returns:
        a list of the alter commands, may be empty
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getType

        public final DbCreateTask.Type getType()
        Returns:
        the type of the command sequence specified during the builder process