package saker.build.task
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(
public Collection< | Gets the collection of IDE configurations which are present in this result collection. |
public Set< | Gets the task identifiers which are present in this task result collection. |
public Object | getTaskResult( Looks up the task result for the given task id. |
From: TaskResultResolver |
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.
public abstract Object getTaskResult(TaskIdentifier taskid) throws TaskExecutionException, IllegalArgumentException
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.