Interface ExecutionPlan

  • All Known Implementing Classes:
    ExecutionPlanImpl

    @ProviderType
    public interface ExecutionPlan
    Holds a list of tasks that perform package installation related operations.
    • 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 case isExecuted() returns true. The concrete errors must be looked up from getTasks().
        Returns:
        true if it has errors.