Interface ExecutionPlan


  • @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 java.lang.String getId()
      An id of the execution plan.
      @NotNull java.util.List<PackageTask> getTasks()
      Retrieves the list of all tasks
      boolean 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 java.lang.String getId()
        An id of the execution plan.
        Returns:
        the id.
      • getTasks

        @NotNull
        @NotNull java.util.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.