public class ConfigRemoveTask
extends org.apache.sling.installer.api.tasks.InstallTask
| Modifier and Type | Field and Description |
|---|---|
protected String |
aliasPid
Alias factory pid or null.
|
protected String |
configPid
Configuration PID
|
protected String |
factoryPid
Factory PID or null
|
| Constructor and Description |
|---|
ConfigRemoveTask(org.apache.sling.installer.api.tasks.TaskResourceGroup r,
org.osgi.service.cm.ConfigurationAdmin configAdmin) |
| Modifier and Type | Method and Description |
|---|---|
protected org.osgi.service.cm.Configuration |
createConfiguration(String location) |
void |
execute(org.apache.sling.installer.api.tasks.InstallationContext ctx) |
protected String |
getCompositeAliasPid() |
protected String |
getCompositePid() |
protected org.osgi.service.cm.Configuration |
getConfiguration() |
protected org.osgi.service.cm.ConfigurationAdmin |
getConfigurationAdmin()
Get the configuration admin - if available
|
protected Dictionary<String,Object> |
getDictionary() |
protected org.slf4j.Logger |
getLogger() |
String |
getSortKey() |
protected final String configPid
protected final String factoryPid
protected String aliasPid
public ConfigRemoveTask(org.apache.sling.installer.api.tasks.TaskResourceGroup r,
org.osgi.service.cm.ConfigurationAdmin configAdmin)
public String getSortKey()
getSortKey in class org.apache.sling.installer.api.tasks.InstallTaskpublic void execute(org.apache.sling.installer.api.tasks.InstallationContext ctx)
execute in class org.apache.sling.installer.api.tasks.InstallTaskInstallTask.execute(org.apache.sling.installer.api.tasks.InstallationContext)protected org.slf4j.Logger getLogger()
protected org.osgi.service.cm.ConfigurationAdmin getConfigurationAdmin()
protected String getCompositePid()
protected String getCompositeAliasPid()
protected Dictionary<String,Object> getDictionary()
protected org.osgi.service.cm.Configuration getConfiguration()
throws IOException,
org.osgi.framework.InvalidSyntaxException
IOExceptionorg.osgi.framework.InvalidSyntaxExceptionprotected org.osgi.service.cm.Configuration createConfiguration(String location) throws IOException, org.osgi.framework.InvalidSyntaxException
IOExceptionorg.osgi.framework.InvalidSyntaxExceptionCopyright © 2007–2015 The Apache Software Foundation. All rights reserved.