public class RefreshBundlesTask extends AbstractBundleTask
ASYNC_ATTR_NAME
Constructor and Description |
---|
RefreshBundlesTask(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.
|
static void |
markBundleForRefresh(InstallationContext ctx,
TaskSupport btc,
Bundle bundle) |
String |
toString() |
getBundleStartLevel, getSortableStartLevel
getBundleContext, getBundleRefresher, getLogger, getStartLevel, getTaskSupport
compareTo, equals, getResource, getResourceGroup, hashCode, isAsynchronousTask, setFinishedState, setFinishedState
public RefreshBundlesTask(TaskSupport btc)
public static void markBundleForRefresh(InstallationContext ctx, TaskSupport btc, Bundle bundle)
public String getSortKey()
InstallTask
getSortKey
in class InstallTask
public String toString()
toString
in class InstallTask
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.