Package org.jumpmind.symmetric
Class SymmetricAdmin
java.lang.Object
org.jumpmind.symmetric.AbstractCommandLauncher
org.jumpmind.symmetric.SymmetricAdmin
Perform administration tasks with SymmetricDS.
-
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 line, org.apache.commons.cli.Options options) protected boolean
protected boolean
requiresPropertiesFile
(org.apache.commons.cli.CommandLine line) protected String
scrubCommandLine
(String[] cmdArgs) 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, scrubOptionValues, testConnection
-
Constructor Details
-
SymmetricAdmin
-
-
Method Details
-
main
- Throws:
Exception
-
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 line, 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
-
scrubCommandLine
- Overrides:
scrubCommandLine
in classAbstractCommandLauncher
-