|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.shared.utils.cli.javatool.JavaToolResult
public class JavaToolResult
Describes the result of a JavaTool invocation.
| Constructor Summary | |
|---|---|
JavaToolResult()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaToolResult()
| Method Detail |
|---|
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||