Interface ExecutionPlan
-
- All Known Implementing Classes:
ExecutionPlanImpl
@ProviderType public interface ExecutionPlanHolds a list of tasks that perform package installation related operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull StringgetId()An id of the execution plan.@NotNull List<PackageTask>getTasks()Retrieves the list of all tasksbooleanhasErrors()Checks if execution of any of the tasks in the plan resulted in an error.booleanisExecuted()Checks if this plan has finished.
-
-
-
Method Detail
-
getId
@NotNull @NotNull String getId()
An id of the execution plan.- Returns:
- the id.
-
getTasks
@NotNull @NotNull List<PackageTask> 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.
-
-