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 voidbuildOptions(org.apache.commons.cli.Options options) protected booleanexecuteWithOptions(org.apache.commons.cli.CommandLine line) protected PropertiesgetConfigProperties(org.apache.commons.cli.CommandLine line) protected StringgetOptionValue(String optionName, String internalName, org.apache.commons.cli.CommandLine line, DbCompareConfig config) protected static voidstatic voidparseExcludedColumns(org.apache.commons.cli.CommandLine line) parseProperty(org.apache.commons.cli.CommandLine line, String propertyName) protected voidprintHelp(org.apache.commons.cli.CommandLine cmd, org.apache.commons.cli.Options options) protected booleanprotected booleanrequiresPropertiesFile(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, testConnection
-
Constructor Details
-
DbCompareCommand
public DbCompareCommand()
-
-
Method Details
-
printHelpIfNoOptionsAreProvided
protected boolean printHelpIfNoOptionsAreProvided()- Specified by:
printHelpIfNoOptionsAreProvidedin classAbstractCommandLauncher
-
requiresPropertiesFile
protected boolean requiresPropertiesFile(org.apache.commons.cli.CommandLine line) - Specified by:
requiresPropertiesFilein classAbstractCommandLauncher
-
executeWithOptions
- Specified by:
executeWithOptionsin 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:
printHelpin classAbstractCommandLauncher
-
buildOptions
protected void buildOptions(org.apache.commons.cli.Options options) - Overrides:
buildOptionsin classAbstractCommandLauncher
-
parseProperty
-
parseExcludedColumns
-
getConfigProperties
-