Interface ExecutionPlan
-
- All Known Implementing Classes:
ExecutionPlanImpl
@ProviderType public interface ExecutionPlan
Holds a list of tasks that perform package installation related operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull String
getId()
An id of the execution plan.@NotNull List<PackageTask>
getTasks()
Retrieves the list of all tasksboolean
hasErrors()
Checks if execution of any of the tasks in the plan resulted in an error.boolean
isExecuted()
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:
true
if 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:
true
if it has errors.
-
-