public class PerformanceCheck extends AppCmdLine
exitStatus, OPTION_DEBUG, OPTION_HELP, OPTION_HOME, OPTION_REMOTE_URL, PROPERTY_REMOTE_URL
Constructor and Description |
---|
PerformanceCheck()
create a new PerformanceCheck for the comma separate list of location URLs
|
Modifier and Type | Method and Description |
---|---|
protected void |
addExtraOptions(org.apache.commons.cli.Options options)
add extra command line options
|
static java.lang.String |
check(java.lang.String locationURLs)
performs a check for each given URL, then returns a formatted message.
|
void |
handleArgs(java.util.Properties p)
handle the args
|
static void |
main(java.lang.String[] argv)
The main for the program
|
void |
process()
Check
|
abort, abortShowHelp, execute, getExtraPars, handleCommandLine, init, setDefaults, setExitFlg
public PerformanceCheck()
protected void addExtraOptions(org.apache.commons.cli.Options options)
addExtraOptions
in class AppCmdLine
options
- the optionspublic void handleArgs(java.util.Properties p) throws java.lang.Exception
handleArgs
in class AppCmdLine
p
- the argsjava.lang.Exception
- a serious problempublic void process()
process
in class AppCmdLine
public static java.lang.String check(java.lang.String locationURLs) throws java.lang.Exception
locationURLs
- the urls to checkjava.lang.Exception
- a serious problempublic static void main(java.lang.String[] argv)
argv
- the parametersstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.