Package | Description |
---|---|
org.apache.sling.installer.api.tasks | |
org.apache.sling.installer.core.impl | |
org.apache.sling.installer.core.impl.tasks |
Modifier and Type | Class and Description |
---|---|
class |
ChangeStateTask
Simple general task, setting the state of a registered resource.
|
Modifier and Type | Method and Description |
---|---|
InstallTask |
InstallTaskFactory.createTask(TaskResourceGroup toActivate)
Creates an
InstallTask for the resource or
null if the factory does not support the resource. |
Modifier and Type | Method and Description |
---|---|
void |
InstallationContext.addAsyncTask(InstallTask t)
Deprecated.
A async task should return
true for isAsynchronousTask()
and be add with InstallationContext.addTaskToCurrentCycle(InstallTask) |
void |
InstallationContext.addTaskToCurrentCycle(InstallTask t)
Schedule a task for execution in the current cycle.
|
void |
InstallationContext.addTaskToNextCycle(InstallTask t)
Deprecated.
|
void |
InstallationContext.asyncTaskFailed(InstallTask t)
Inform the installer about a failed async task.
|
int |
InstallTask.compareTo(InstallTask o)
All comparisons are based on getSortKey().
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractInstallTask
Abstract base class providing an additional logger
|
class |
AsyncWrapperInstallTask
Wrapper class to add the async flag.
|
Constructor and Description |
---|
AsyncWrapperInstallTask(InstallTask delegatee) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractBundleTask
Abstract base class for bundle related tasks.
|
class |
BundleInstallTask
Install a bundle supplied as a RegisteredResource.
|
class |
BundleRemoveTask
Remove a bundle from a RegisteredResource.
|
class |
BundleStartTask
Start a bundle given its bundle ID
Restarts if the bundle does not start on the first try,
but only after receiving a bundle or framework event,
indicating that it's worth retrying
|
class |
BundleUpdateTask
Update a bundle from a RegisteredResource.
|
class |
InstallerBundleUpdateTask
Update the installer itself
|
class |
RefreshBundlesTask
Refresh a set of bundles.
|
class |
RestartActiveBundlesTask
Restart all active bundles.
|
class |
SystemBundleUpdateTask
Update the system bundle from a RegisteredResource.
|
Modifier and Type | Method and Description |
---|---|
InstallTask |
BundleTaskCreator.createTask(TaskResourceGroup resourceList)
Create a bundle task - install, update or remove
|
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.