public class SampleSyncApp extends AppCmdLine
exitStatus, OPTION_DEBUG, OPTION_HELP, OPTION_HOME, OPTION_REMOTE_URL, PROPERTY_REMOTE_URL| Constructor and Description |
|---|
SampleSyncApp() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addExtraOptions(org.apache.commons.cli.Options options)
add extra command line options
|
void |
handleCommandLine(org.apache.commons.cli.CommandLine line)
handle the command line args
|
static void |
main(java.lang.String[] argv)
Std.
|
void |
process()
infinite loop, never exit always monitor for changes.
|
abort, abortShowHelp, execute, getExtraPars, handleArgs, init, setDefaults, setExitFlgpublic void process()
process in class AppCmdLineprotected void addExtraOptions(@Nonnull
org.apache.commons.cli.Options options)
AppCmdLineaddExtraOptions in class AppCmdLineoptions - the optionspublic void handleCommandLine(@Nonnull
org.apache.commons.cli.CommandLine line)
throws java.lang.Exception
AppCmdLinehandleCommandLine in class AppCmdLineline - the command linejava.lang.Exception - a serious problempublic static void main(java.lang.String[] argv)
argv - The command line arguments.stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.