Class ScriptGenerator
java.lang.Object
ru.bitel.bgbilling.modules.dba.server.bean.ScriptGenerator
- Direct Known Subclasses:
BashScriptGenerator
,BatchScriptGenerator
-
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)
-
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
-