saker.build Documentation TaskDoc JavaDoc Packages
public interface TaskResultCollection extends TaskResultResolver
Collection class for enclosing the task results of a build execution.

This class holds the executed tasks and their corresponding results.

The getTaskIds() function returns all of the task identifiers that this collection holds. The getTaskResult(TaskIdentifier) function can be used to retrieve the results for a given task.

Methods
public Collection<extends IDEConfiguration>
Gets the collection of IDE configurations which are present in this result collection.
public Set<extends TaskIdentifier>
Gets the task identifiers which are present in this task result collection.
public Object
Looks up the task result for the given task id.
Gets the collection of IDE configurations which are present in this result collection.
An unmodifiable collection of IDE configurations.
Gets the task identifiers which are present in this task result collection.

Only task identifiers are returned which were run in the associated build execution.

An unmodifiable set of task identifiers.
Looks up the task result for the given task id.

If the task is not found, IllegalArgumentException is thrown. If the task didn't finish successfully, a TaskExecutionException is thrown.

The result of the task execution. Might be null if the task was not found, or it returned null as a result.
TaskExecutionExceptionIn case of any exceptions related to the task execution.
IllegalArgumentExceptionOptional exception, if a task result was not found for the given identifier.