Interface PackageTask
-
@ProviderType public interface PackageTask
Describes a package operation task.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPackageTask.StateTask statestatic classPackageTask.TypeTask type
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ThrowablegetError()Returns the error if there was one.PackageIdgetPackageId()Returns the package id of this task.PackageTask.StategetState()Returns the task statePackageTask.TypegetType()Returns the task type.
-
-
-
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
-
-