public class JavaToolResult
extends java.lang.Object
JavaTool invocation.| Constructor | Description |
|---|---|
JavaToolResult() |
| Modifier and Type | Method | Description |
|---|---|---|
Commandline |
getCommandline() |
Gets the command line used.
|
CommandLineException |
getExecutionException() |
Gets the exception that possibly occurred during the execution of the command line.
|
int |
getExitCode() |
Gets the exit code from the tool invocation.
|
void |
setCommandline(Commandline commandline) |
Set the commandline used to obtain this result.
|
void |
setExecutionException(CommandLineException executionException) |
Sets the exception that prevented to execute the command line.
|
void |
setExitCode(int exitCode) |
Sets the exit code reported by the tool invocation.
|
public int getExitCode()
getExecutionException() reports an exception.public Commandline getCommandline()
public CommandLineException getExecutionException()
null if the command line was successfully
processed by the operating system.public void setExitCode(int exitCode)
exitCode - The exit code reported by the tool invocation.public void setExecutionException(CommandLineException executionException)
executionException - The exception that prevented to execute the command line, may be null.public void setCommandline(Commandline commandline)
commandline - the commandline used to obtain this result