public abstract class AbstractRemoveHardcodedI18nPropertiesTask
extends info.magnolia.module.delta.AbstractRepositoryTask
I18nizer
mechanism.
The properties are defined by DEPRECATED_I18N_PROPERTIES
.
Subclasses will need to implement getAppRelativePaths()
to provide the paths relative to the module name under which one wants to remove such properties. All sub nodes under the provided paths will be searched recursively for the deprecated i18n properties.
Modifier and Type | Field and Description |
---|---|
static List<String> |
DEPRECATED_I18N_PROPERTIES |
Constructor and Description |
---|
AbstractRemoveHardcodedI18nPropertiesTask(String appName,
String description) |
AbstractRemoveHardcodedI18nPropertiesTask(String appName,
String description,
List<String> additionalDeprecatedProperties) |
Modifier and Type | Method and Description |
---|---|
void |
doExecute(info.magnolia.module.InstallContext installContext) |
protected abstract String[] |
getAppRelativePaths()
Subclasses will need to implement this abstract method to provide the paths relative to the module name under which one wants to remove such properties.
|
public AbstractRemoveHardcodedI18nPropertiesTask(String appName, String description)
public void doExecute(info.magnolia.module.InstallContext installContext) throws javax.jcr.RepositoryException, info.magnolia.module.delta.TaskExecutionException
doExecute
in class info.magnolia.module.delta.AbstractRepositoryTask
javax.jcr.RepositoryException
info.magnolia.module.delta.TaskExecutionException
protected abstract String[] getAppRelativePaths()
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.