Class ScriptGenerator
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.modules.dba.server.bean.ScriptGenerator
- Direct Known Subclasses:
BashScriptGenerator
,BatchScriptGenerator
public abstract class ScriptGenerator
extends ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected StringBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBackupTable
(String tableName) protected abstract void
void
addDeleteTable
(String tableName) protected abstract void
protected abstract void
void
setBackupPath
(String backupPath) void
setMysqlCommand
(String mysqlBinPath) void
setMysqlDumpCommand
(String mysqlDumpCommand) Methods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
getLogger, logError
-
Field Details
-
script
-
backupTableList
-
deleteTableList
-
mysqlCommand
-
mysqlDumpCommand
-
backupPath
-
databaseName
-
-
Constructor Details
-
ScriptGenerator
-
-
Method Details
-
setBackupPath
-
setMysqlCommand
-
addBackupTable
-
addDeleteTable
-
getScript
-
addScriptHeader
protected abstract void addScriptHeader() -
addBackupTables
protected abstract void addBackupTables() -
addDeleteTables
protected abstract void addDeleteTables() -
setMysqlDumpCommand
-