Package org.jumpmind.symmetric
Class DbImportCommand
java.lang.Object
org.jumpmind.symmetric.AbstractCommandLauncher
org.jumpmind.symmetric.DbImportCommand
Import data from file to database tables.
-
Field Summary
Fields inherited from class org.jumpmind.symmetric.AbstractCommandLauncher
app, argSyntax, COMMON_MESSAGE_KEY_PREFIX, DEFAULT_SERVER_PROPERTIES, engine, HELP, messageKeyPrefix, OPTION_DEBUG, OPTION_ENGINE, OPTION_JCE_PROVIDER, OPTION_KEYSTORE_PASSWORD, OPTION_KEYSTORE_TYPE, OPTION_NO_LOG_CONSOLE, OPTION_NO_LOG_FILE, OPTION_PROPERTIES_FILE, OPTION_VERBOSE_CONSOLE, platform, propertiesFile
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
buildOptions
(org.apache.commons.cli.Options options) protected boolean
executeWithOptions
(org.apache.commons.cli.CommandLine line) static void
protected void
printHelp
(org.apache.commons.cli.CommandLine cmd, org.apache.commons.cli.Options options) protected boolean
protected boolean
requiresPropertiesFile
(org.apache.commons.cli.CommandLine line) Methods inherited from class org.jumpmind.symmetric.AbstractCommandLauncher
addCommonOption, addCommonOption, addOption, addOption, buildCryptoOptions, configureCrypto, configureLogging, configurePropertiesFile, execute, findSingleEnginesPropertiesFile, getDatabasePlatform, getDatabasePlatform, getSymmetricEngine, getSymmetricEngine, getTypedProperties, initFromServerProperties, printUsage, scrubCommandLine, scrubOptionValues, testConnection
-
Constructor Details
-
DbImportCommand
public DbImportCommand()
-
-
Method Details
-
main
-
printHelpIfNoOptionsAreProvided
protected boolean printHelpIfNoOptionsAreProvided()- Specified by:
printHelpIfNoOptionsAreProvided
in classAbstractCommandLauncher
-
requiresPropertiesFile
protected boolean requiresPropertiesFile(org.apache.commons.cli.CommandLine line) - Specified by:
requiresPropertiesFile
in classAbstractCommandLauncher
-
printHelp
protected void printHelp(org.apache.commons.cli.CommandLine cmd, org.apache.commons.cli.Options options) - Overrides:
printHelp
in classAbstractCommandLauncher
-
buildOptions
protected void buildOptions(org.apache.commons.cli.Options options) - Overrides:
buildOptions
in classAbstractCommandLauncher
-
executeWithOptions
- Specified by:
executeWithOptions
in classAbstractCommandLauncher
- Throws:
Exception
-