Package org.jumpmind.symmetric
Class DbCompareCommand
java.lang.Object
org.jumpmind.symmetric.AbstractCommandLauncher
org.jumpmind.symmetric.DbCompareCommand
-
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) protected Properties
getConfigProperties
(org.apache.commons.cli.CommandLine line) protected String
getOptionValue
(String optionName, String internalName, org.apache.commons.cli.CommandLine line, DbCompareConfig config) protected static void
static void
parseExcludedColumns
(org.apache.commons.cli.CommandLine line) parseProperty
(org.apache.commons.cli.CommandLine line, String propertyName) 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, printUsage, scrubCommandLine, scrubOptionValues, testConnection
-
Constructor Details
-
DbCompareCommand
public DbCompareCommand()
-
-
Method Details
-
printHelpIfNoOptionsAreProvided
protected boolean printHelpIfNoOptionsAreProvided()- Specified by:
printHelpIfNoOptionsAreProvided
in classAbstractCommandLauncher
-
requiresPropertiesFile
protected boolean requiresPropertiesFile(org.apache.commons.cli.CommandLine line) - Specified by:
requiresPropertiesFile
in classAbstractCommandLauncher
-
executeWithOptions
- Specified by:
executeWithOptions
in classAbstractCommandLauncher
- Throws:
Exception
-
getOptionValue
protected String getOptionValue(String optionName, String internalName, org.apache.commons.cli.CommandLine line, DbCompareConfig config) -
main
- Throws:
Exception
-
initFromServerProperties
protected static void initFromServerProperties() -
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
-
parseProperty
-
parseExcludedColumns
-
getConfigProperties
-