This class holds the completion information about a build execution. The collection of task results, the result code (kind), any occurred exceptions or script trace can be retrieved using the appropriate functions.
public enum | Enumeration for the possible exit codes that a build task execution can end with. |
public Throwable | Gets the exception instance that was thrown during execution. |
public default ExceptionView | Gets the exception view of the occurred exception. |
public ScriptPositionedExceptionView | Gets the exception view of the occurred exception. |
public ResultKind | Gets the result kind of this build execution result. |
public TaskResultCollection | Gets the task result collection of the execution, which holds the results and related data about the executed
tasks. |
There may be an exception even if the result kind is successful.
It is recommended that callers use getPositionedExceptionView() instead, as the Throwable instance might not be RMI transferrable.
null
if no exception was thrown.It is recommended to call this instead of getException(), as the Throwable instance might not be RMI transferrable.
null
if no exception was thrown.This exception view holds and script traces about the occurred exception if available.
It is recommended to call this instead of getException(), as the Throwable instance might not be RMI transferrable.
null
if no exception was thrown.The result kind is basically the exit code for the build execution.