public class FileSyncRunOnce extends AppCmdLine
exitStatus, OPTION_DEBUG, OPTION_HELP, OPTION_HOME, OPTION_REMOTE_URL, PROPERTY_REMOTE_URL| Constructor and Description |
|---|
FileSyncRunOnce() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addExtraOptions(org.apache.commons.cli.Options options)
Adds extra options to the command line
|
void |
handleCommandLine(org.apache.commons.cli.CommandLine cmd)
Handles the options on the command line
|
static void |
main(java.lang.String[] args)
Run the application as a separate process
|
void |
process()
Syncs files to the given file store for the given layer
|
abort, abortShowHelp, execute, getExtraPars, handleArgs, init, setDefaults, setExitFlgpublic static void main(java.lang.String[] args)
args - the process argumentsprotected void addExtraOptions(org.apache.commons.cli.Options options)
addExtraOptions in class AppCmdLineoptions - the process optionspublic void handleCommandLine(org.apache.commons.cli.CommandLine cmd)
throws java.lang.Exception
handleCommandLine in class AppCmdLinecmd - the command line for the processjava.lang.Exception - invalid command linepublic void process()
throws java.lang.Exception
process in class AppCmdLinejava.lang.Exception - failure to sync filesstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.