|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.faban.harness.tools.CommandLineTool
public class CommandLineTool
This class handles the command line tools. Like, vmstat, mpstat, etc.
| Field Summary | |
|---|---|
ToolContext |
ctx
The injected tool context. |
| Constructor Summary | |
|---|---|
CommandLineTool()
|
|
| Method Summary | |
|---|---|
void |
config()
Configures the command line tool. |
void |
start()
This method is responsible for starting the command line tool. |
void |
stop()
This method is responsible for stopping the command line tool. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public ToolContext ctx
| Constructor Detail |
|---|
public CommandLineTool()
| Method Detail |
|---|
public void config()
public void start()
throws IOException,
InterruptedException
IOException - Error starting the command
InterruptedException - Interrupted waiting for commands
public void stop()
throws IOException,
InterruptedException
IOException - Error stopping the command
InterruptedException - Interrupted waiting for commands
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||