com.sun.faban.harness.util
Class CLI
java.lang.Object
com.sun.faban.harness.util.CLI
public class CLI
- extends Object
Command line interface for submitting runs, etc.
CLI [-M master] [-U user [-P password]] action args
Action and arguments:
- pending
Lists pending runs.
- status runId
Provides the status for the given run id.
- submit benchmark profile configfile.xml [configfile2.xml...]
Submits benchmark runs.
The master is provided as a URL to the master's root context and defaults
to http://localhost:9980/.
- Author:
- Akara Sucharitakul
Constructor Summary |
CLI()
|
Method Summary |
static void |
main(String[] args)
The first argument to the CLI is the action. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLI
public CLI()
main
public static void main(String[] args)
- The first argument to the CLI is the action. It can be:
- pending
- status runId
- submit benchmark profile configfile.xml
- Parameters:
args
- The command line arguments.