Package ru.bitel.bgbilling.modules.dba.server.bean

# Class BashScriptGenerator

java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.modules.dba.server.bean.ScriptGenerator
ru.bitel.bgbilling.modules.dba.server.bean.BashScriptGenerator

public class BashScriptGenerator extends ScriptGenerator

- ## Field Summary

  ### Fields inherited from class ru.bitel.bgbilling.modules.dba.server.bean.ScriptGenerator

  `backupPath, backupTableList, databaseName, deleteTableList, mysqlCommand, mysqlDumpCommand, script`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BashScriptGenerator(Setup setup, Connection con, int moduleId)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected void`
  `addBackupTables()`
  `protected void`
  `addDeleteTables()`
  `protected void`
  `addScriptHeader()`

  ### Methods inherited from class ru.bitel.bgbilling.modules.dba.server.bean.ScriptGenerator

  `addBackupTable, addDeleteTable, getScript, setBackupPath, setMysqlCommand, setMysqlDumpCommand`

  ### Methods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger

  `error, error, error, getLogger, logError, logError, warn`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### BashScriptGenerator

    public BashScriptGenerator(Setup setup, Connection con, int moduleId)

- ## Method Details

  - ### addScriptHeader

    protected void addScriptHeader()
    Specified by:
      `addScriptHeader` in class `ScriptGenerator`

  - ### addBackupTables

    protected void addBackupTables()
    Specified by:
      `addBackupTables` in class `ScriptGenerator`

  - ### addDeleteTables

    protected void addDeleteTables()
    Specified by:
      `addDeleteTables` in class `ScriptGenerator`