Interface ExecutionPlan
- All Known Implementing Classes:
ExecutionPlanImpl
@ProviderType
public interface ExecutionPlan
Holds a list of tasks that perform package installation related operations.
-
Method Summary
Modifier and TypeMethodDescription@NotNull StringgetId()An id of the execution plan.@NotNull List<PackageTask>getTasks()Retrieves the list of all tasksbooleanChecks if execution of any of the tasks in the plan resulted in an error.booleanChecks if this plan has finished.
-
Method Details
-
getId
An id of the execution plan.- Returns:
- the id.
-
getTasks
Retrieves the list of all tasks- Returns:
- the tasks.
-
isExecuted
boolean isExecuted()Checks if this plan has finished.- Returns:
trueif executed.
-
hasErrors
boolean hasErrors()Checks if execution of any of the tasks in the plan resulted in an error. Only returns a valid result in caseisExecuted()returnstrue. The concrete errors must be looked up fromgetTasks().- Returns:
trueif it has errors.
-