public class DBToolCLP extends DatabaseCLP
Modifier and Type | Class and Description |
---|---|
protected static class |
DBToolCLP.MyOptionSkipErrors |
protected static class |
DBToolCLP.MyOptionSqlCommand |
protected static class |
DBToolCLP.MyOptionSqlScript |
DatabaseCLP.OptionCredDir, DatabaseCLP.OptionCredFile, DatabaseCLP.OptionDbPassword, DatabaseCLP.OptionDbUrl, DatabaseCLP.OptionDbUser, DatabaseCLP.OptionJdbcDriver, DatabaseCLP.OptionLoginTimeout, DatabaseCLP.OptionMaxConns, DatabaseCLP.OptionMinConns, DatabaseCLP.OptionSchema
Modifier and Type | Field and Description |
---|---|
protected DBToolCLP.MyOptionSkipErrors |
optSkipErrors |
protected DBToolCLP.MyOptionSqlCommand |
optSqlCommand |
protected DBToolCLP.MyOptionSqlScript |
optSqlScript |
optCredDir, optCredFile, optDriver, optLoginTimeout, optMaxConns, optMinConns, optPassword, optSchema, optUrl, optUser
optApplicationName
espritVersion, optDebug, optDemo, optHelp, optLocale, optLogDir, optLogToFile, optNoConsole, optTest, optVerbose, optVersion
Constructor and Description |
---|
DBToolCLP(java.lang.Class mainClass,
java.lang.String... args) |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getScriptFile() |
java.lang.String |
getSqlStatement() |
boolean |
isSkipErrors() |
static void |
main(java.lang.String[] args) |
checkForMissingCredentialOptions, checkForMissingOption, createConfig, getConnectionPool, getCredDir, getCredential, getCredential, getCredFile, getDriver, getLoginTimeout, getMaxConns, getMinConns, getPassword, getSchema, getUrl, getUser
getApplicationName, getConfig, isPrintVersionOnly, setDefaultApplicationName
addOption, addOption, addSoftwareVersion, checkDependencies, createHelpText, createHelpText, createOptionList, createSyntaxLine, ensureParsed, fetchDefinedOptionFor, findDefinedOptionFor, getArgument, getArgumentCount, getArguments, getCustomVersion, getEspritVersion, getLogDir, getMainClass, getSoftwareVersions, getStartLogLevel, handleParsingError, hasArguments, isDebug, isDemoMode, isExitAfterParsing, isLogToFile, isNoConsoleLog, isParsed, isTestMode, isVerbose, parse, removeOption, removeOption
protected final DBToolCLP.MyOptionSqlCommand optSqlCommand
protected final DBToolCLP.MyOptionSqlScript optSqlScript
protected final DBToolCLP.MyOptionSkipErrors optSkipErrors
Copyright © 2013 EsprIT-Systems. All Rights Reserved.