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, setExitFlg
public void process()
process
in class AppCmdLine
protected void addExtraOptions(@Nonnull org.apache.commons.cli.Options options)
AppCmdLine
addExtraOptions
in class AppCmdLine
options
- the optionspublic void handleCommandLine(@Nonnull org.apache.commons.cli.CommandLine line) throws java.lang.Exception
AppCmdLine
handleCommandLine
in class AppCmdLine
line
- 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.