public class JavaToolResult extends Object
JavaTool invocation.| Constructor and Description | 
|---|
JavaToolResult()  | 
| Modifier and Type | Method and 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 resultCopyright © 2002–2021 The Apache Software Foundation. All rights reserved.