public abstract class AbstractUnlCLP extends DatabaseCommandLineParser
DatabaseCommandLineParser that encapsulates the common command line
options of the UnlExport and UnlImport tools which are -record, -dbopkg, -table.| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractUnlCLP.OptionDboPkg |
protected static class |
AbstractUnlCLP.OptionTable |
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 OptionDBObject |
optDbo |
protected AbstractUnlCLP.OptionDboPkg |
optDboPkg |
protected AbstractUnlCLP.OptionTable |
optTable |
optCredDir, optCredFile, optDriver, optLoginTimeout, optMaxConns, optMinConns, optPassword, optSchema, optUrl, optUseroptApplicationNameespritVersion, optDebug, optDemo, optHelp, optLocale, optLogDir, optLogToFile, optNoConsole, optTest, optVerbose, optVersion| Constructor and Description |
|---|
AbstractUnlCLP(java.lang.Class mainClass,
java.lang.String... args) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkDependencies()
Is called after all options have been parsed.
|
protected java.lang.String |
createOptionList() |
DBObject |
getDBObject() |
checkForMissingCredentialOptions, checkForMissingOption, createConfig, getConnectionPool, getCredDir, getCredential, getCredential, getCredFile, getDriver, getLoginTimeout, getMaxConns, getMinConns, getPassword, getSchema, getUrl, getUsergetApplicationName, getConfig, isPrintVersionOnly, setDefaultApplicationNameaddOption, addOption, addSoftwareVersion, createHelpText, createHelpText, 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, removeOptionprotected final AbstractUnlCLP.OptionDboPkg optDboPkg
protected final AbstractUnlCLP.OptionTable optTable
protected final OptionDBObject optDbo
public AbstractUnlCLP(java.lang.Class mainClass,
java.lang.String... args)
protected void checkDependencies()
throws java.lang.Exception
CommandLineParsercheckDependencies in class CommandLineParserjava.lang.Exceptionpublic DBObject getDBObject()
protected java.lang.String createOptionList()
createOptionList in class CommandLineParserCopyright © 2014 EsprIT-Systems. All Rights Reserved.