Interface PackageTask
- 
@ProviderType public interface PackageTaskDescribes 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 @Nullable java.lang.ThrowablegetError()Returns the error if there was one.@Nullable PackageTaskOptionsgetOptions()Returns the task optional options.@NotNull PackageIdgetPackageId()Returns the package id of this task.@NotNull PackageTask.StategetState()Returns the task state@NotNull PackageTask.TypegetType()Returns the task type. 
 - 
 
- 
- 
Method Detail
- 
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 java.lang.Throwable getError()
Returns the error if there was one.- Returns:
 - the error
 
 
 - 
 
 -