public abstract class AbstractRemoveHardcodedI18nPropertiesTask extends 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 |
DO_NOTHING
Constructor and Description |
---|
AbstractRemoveHardcodedI18nPropertiesTask(String appName,
String description) |
AbstractRemoveHardcodedI18nPropertiesTask(String appName,
String description,
List<String> additionalDeprecatedProperties) |
Modifier and Type | Method and Description |
---|---|
void |
doExecute(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.
|
execute
getDescription, getName, toString
public AbstractRemoveHardcodedI18nPropertiesTask(String appName, String description)
public void doExecute(InstallContext installContext) throws javax.jcr.RepositoryException, TaskExecutionException
doExecute
in class AbstractRepositoryTask
javax.jcr.RepositoryException
TaskExecutionException
protected abstract String[] getAppRelativePaths()
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.