Class AbstractBundleTask
java.lang.Object
org.apache.sling.installer.api.tasks.InstallTask
org.apache.sling.installer.core.impl.AbstractInstallTask
org.apache.sling.installer.core.impl.tasks.AbstractBundleTask
- All Implemented Interfaces:
Comparable<InstallTask>
- Direct Known Subclasses:
BundleInstallTask
,BundleRemoveTask
,BundleStartTask
,BundleUpdateTask
,RefreshBundlesTask
public abstract class AbstractBundleTask
extends org.apache.sling.installer.core.impl.AbstractInstallTask
Abstract base class for bundle related tasks.
-
Field Summary
Fields inherited from class org.apache.sling.installer.api.tasks.InstallTask
ASYNC_ATTR_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getBundleLocation
(Resource resource) protected int
Detect the start level for the resource.protected String
Get sortable start level - low levels before high levelsstatic void
setBundleLocation
(TaskResource resource, String location) Methods inherited from class org.apache.sling.installer.core.impl.AbstractInstallTask
getBundleContext, getBundleRefresher, getLogger, getTaskSupport
Methods inherited from class org.apache.sling.installer.api.tasks.InstallTask
compareTo, equals, execute, getResource, getResourceGroup, getSortKey, hashCode, isAsynchronousTask, setFinishedState, setFinishedState, setFinishedState, toString
-
Field Details
-
ATTRIBUTE_BUNDLE_LOCATION
- See Also:
-
-
Constructor Details
-
AbstractBundleTask
-
-
Method Details
-
setBundleLocation
-
getBundleLocation
-
getBundleStartLevel
protected int getBundleStartLevel()Detect the start level for the resource. -
getSortableStartLevel
Get sortable start level - low levels before high levels
-