org.apache.sling.installer.api.tasks
Interface InstallTaskFactory
public interface InstallTaskFactory
The install task factory creates a task for a given
resource.
An install task factory is a plugin service that
checks a resource if it is installable by this plugin
and creates an appropriate task.
createTask
InstallTask createTask(TaskResourceGroup toActivate)
- Creates an
InstallTask for the resource or
null if the factory does not support the resource.
The factory should not alter the state of the resources,
therefore it's not allowed to call one of the setState methods
on the task resource group!
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.