public class FileSyncApp extends AppCmdLine
exitStatus, OPTION_DEBUG, OPTION_HELP, OPTION_HOME, OPTION_REMOTE_URL, PROPERTY_REMOTE_URL
Constructor and Description |
---|
FileSyncApp() |
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)
Check app arguments
|
static void |
main(java.lang.String[] args)
The entry point for running this app standalone
|
void |
process()
Runs the file sync application
|
abort, abortShowHelp, execute, getExtraPars, handleArgs, init, setDefaults, setExitFlg
public void handleCommandLine(@Nonnull org.apache.commons.cli.CommandLine line) throws java.lang.Exception
handleCommandLine
in class AppCmdLine
line
- the command linejava.lang.Exception
- a problem with the argumentspublic void process() throws java.lang.Exception
process
in class AppCmdLine
java.lang.Exception
- a serious problemprotected void addExtraOptions(org.apache.commons.cli.Options options)
addExtraOptions
in class AppCmdLine
options
- the optionspublic static void main(java.lang.String[] args)
args
- the app argumentsstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.