Class PackageTaskImpl
- java.lang.Object
-
- org.apache.jackrabbit.vault.packaging.registry.impl.PackageTaskImpl
-
- All Implemented Interfaces:
PackageTask
public class PackageTaskImpl extends Object implements PackageTask
PackageTaskImpl...
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.jackrabbit.vault.packaging.registry.PackageTask
PackageTask.State, PackageTask.Type
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)@Nullable 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.inthashCode()StringtoString()
-
-
-
Method Detail
-
getPackageId
@NotNull public @NotNull PackageId getPackageId()
Description copied from interface:PackageTaskReturns the package id of this task.- Specified by:
getPackageIdin interfacePackageTask- Returns:
- the package id.
-
getType
@NotNull public @NotNull PackageTask.Type getType()
Description copied from interface:PackageTaskReturns the task type.- Specified by:
getTypein interfacePackageTask- Returns:
- the task type.
-
getOptions
@Nullable public @Nullable PackageTaskOptions getOptions()
Description copied from interface:PackageTaskReturns the task optional options.- Specified by:
getOptionsin interfacePackageTask- Returns:
- the task options (may be null).
-
getState
@NotNull public @NotNull PackageTask.State getState()
Description copied from interface:PackageTaskReturns the task state- Specified by:
getStatein interfacePackageTask- Returns:
- the task state
-
getError
@Nullable public @Nullable Throwable getError()
Description copied from interface:PackageTaskReturns the error if there was one.- Specified by:
getErrorin interfacePackageTask- Returns:
- the error
-
-