saker.build Documentation TaskDoc JavaDoc Packages
public interface BuildTaskExecutionResult
Interface representing the execution result of a build task execution request.

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.

Nested types
public enum
Enumeration for the possible exit codes that a build task execution can end with.
Methods
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.
Gets the exception instance that was thrown during execution.

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.

The exception instance or null if no exception was thrown.
Gets the exception view of the occurred exception.

It is recommended to call this instead of getException(), as the Throwable instance might not be RMI transferrable.

The exception view or null if no exception was thrown.
Gets the exception view of the occurred exception.

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.

The exception view or null if no exception was thrown.
Gets the result kind of this build execution result.

The result kind is basically the exit code for the build execution.

The result kind.
Gets the task result collection of the execution, which holds the results and related data about the executed tasks.
The task result collection.