public class ConfigureBootstrapCommandTest.TestExecutor extends java.lang.Object implements Executor
| Constructor and Description |
|---|
TestExecutor() |
| Modifier and Type | Method and Description |
|---|---|
int |
execute(java.lang.String[] args)
Execute any command with the passed in arguments.
|
java.lang.String |
getLastCommandErrorMessage()
Returns the error message captured during the last command executed.
|
java.lang.String |
getLastCommandOutput()
Returns the output captured during the last command executed.
|
public int execute(java.lang.String[] args)
Executorpublic java.lang.String getLastCommandOutput()
ExecutorgetLastCommandOutput in interface Executornull if no command has been executed; the empty string
if there was no output from the commandpublic java.lang.String getLastCommandErrorMessage()
ExecutorgetLastCommandErrorMessage in interface Executornull if no command has been executed; the empty string
if there was no error from the command