Interface PackageTask


  • @ProviderType
    public interface PackageTask
    Describes a package operation task.
    • Method Detail

      • getPackageId

        @Nonnull
        PackageId getPackageId()
        Returns the package id of this task.
        Returns:
        the package id.
      • getType

        @Nonnull
        PackageTask.Type getType()
        Returns the task type.
        Returns:
        the task type.
      • getState

        @Nonnull
        PackageTask.State getState()
        Returns the task state
        Returns:
        the task state
      • getError

        @Nullable
        java.lang.Throwable getError()
        Returns the error if there was one.
        Returns:
        the error