public class BundleStartTask extends AbstractBundleTask
ASYNC_ATTR_NAME
Constructor and Description |
---|
BundleStartTask(TaskResourceGroup r,
long bundleId,
TaskSupport btc) |
Modifier and Type | Method and Description |
---|---|
void |
execute(InstallationContext ctx)
This is the heart of the task - it performs the actual task.
|
String |
getSortKey()
Tasks are sorted according to this key.
|
void |
setFinishedState(ResourceState state)
Set the finished state for the resource.
|
String |
toString() |
getBundleStartLevel, getSortableStartLevel
getBundleContext, getBundleRefresher, getLogger, getStartLevel, getTaskSupport
compareTo, equals, getResource, getResourceGroup, hashCode, isAsynchronousTask, setFinishedState
public BundleStartTask(TaskResourceGroup r, long bundleId, TaskSupport btc)
public String getSortKey()
InstallTask
getSortKey
in class InstallTask
public String toString()
toString
in class InstallTask
public void setFinishedState(ResourceState state)
InstallTask
setFinishedState
in class InstallTask
state
- The new state.public void execute(InstallationContext ctx)
InstallTask
execute
in class InstallTask
ctx
- The installation context.InstallTask.execute(org.apache.sling.installer.api.tasks.InstallationContext)
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.