Interface PackageTask

All Known Implementing Classes:
PackageTaskImpl

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

    • getPackageId

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

      @NotNull @NotNull PackageTask.Type getType()
      Returns the task type.
      Returns:
      the task type.
    • getOptions

      @Nullable @Nullable PackageTaskOptions getOptions()
      Returns the task optional options.
      Returns:
      the task options (may be null).
    • getState

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

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