public class DBToolCommandLineParser extends DatabaseCommandLineParser
Modifier and Type | Class and Description |
---|---|
protected static class |
DBToolCommandLineParser.MyOptionSkipErrors |
protected static class |
DBToolCommandLineParser.MyOptionSqlCommand |
protected static class |
DBToolCommandLineParser.MyOptionSqlScript |
DatabaseCommandLineParser.OptionCredDir, DatabaseCommandLineParser.OptionCredFile, DatabaseCommandLineParser.OptionDbPassword, DatabaseCommandLineParser.OptionDbUrl, DatabaseCommandLineParser.OptionDbUser, DatabaseCommandLineParser.OptionJdbcDriver, DatabaseCommandLineParser.OptionLoginTimeout, DatabaseCommandLineParser.OptionMaxConns, DatabaseCommandLineParser.OptionMinConns, DatabaseCommandLineParser.OptionSchema
Modifier and Type | Field and Description |
---|---|
protected DBToolCommandLineParser.MyOptionSkipErrors |
optSkipErrors |
protected DBToolCommandLineParser.MyOptionSqlCommand |
optSqlCommand |
protected DBToolCommandLineParser.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 |
---|
DBToolCommandLineParser(java.lang.Class mainClass,
java.lang.String... args) |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getScriptFile() |
java.lang.String |
getSqlStatement() |
boolean |
isSkipErrors() |
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 DBToolCommandLineParser.MyOptionSqlCommand optSqlCommand
protected final DBToolCommandLineParser.MyOptionSqlScript optSqlScript
protected final DBToolCommandLineParser.MyOptionSkipErrors optSkipErrors
Copyright © 2014 EsprIT-Systems. All Rights Reserved.