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 boolean
equals(Object obj)
@Nullable Throwable
getError()
Returns the error if there was one.@Nullable PackageTaskOptions
getOptions()
Returns the task optional options.@NotNull PackageId
getPackageId()
Returns the package id of this task.@NotNull PackageTask.State
getState()
Returns the task state@NotNull PackageTask.Type
getType()
Returns the task type.int
hashCode()
String
toString()
-
-
-
Method Detail
-
getPackageId
@NotNull public @NotNull PackageId getPackageId()
Description copied from interface:PackageTask
Returns the package id of this task.- Specified by:
getPackageId
in interfacePackageTask
- Returns:
- the package id.
-
getType
@NotNull public @NotNull PackageTask.Type getType()
Description copied from interface:PackageTask
Returns the task type.- Specified by:
getType
in interfacePackageTask
- Returns:
- the task type.
-
getOptions
@Nullable public @Nullable PackageTaskOptions getOptions()
Description copied from interface:PackageTask
Returns the task optional options.- Specified by:
getOptions
in interfacePackageTask
- Returns:
- the task options (may be null).
-
getState
@NotNull public @NotNull PackageTask.State getState()
Description copied from interface:PackageTask
Returns the task state- Specified by:
getState
in interfacePackageTask
- Returns:
- the task state
-
getError
@Nullable public @Nullable Throwable getError()
Description copied from interface:PackageTask
Returns the error if there was one.- Specified by:
getError
in interfacePackageTask
- Returns:
- the error
-
-