Modifier and Type | Field and Description |
---|---|
ToolContext |
ctx
The injected tool context.
|
protected long |
stopTime |
Constructor and Description |
---|
CommandLineTool() |
Modifier and Type | Method and Description |
---|---|
void |
config()
Configures the command line tool.
|
void |
postprocess()
This method is responsible for post-processing.
|
void |
start()
This method is responsible for starting the command line tool.
|
void |
stop()
This method is responsible for stopping the command line tool.
|
public ToolContext ctx
protected long stopTime
public void config()
public void start() throws IOException, InterruptedException
IOException
- Error starting the commandInterruptedException
- Interrupted waiting for commandspublic void stop() throws IOException, InterruptedException
IOException
- Error stopping the commandInterruptedException
- Interrupted waiting for commandspublic void postprocess() throws IOException, InterruptedException
IOException
- Error post-processing cpustatInterruptedException
- Interrupted waiting for commands