info.magnolia.module.delta
Class RemovePropertiesTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.AbstractRepositoryTask
info.magnolia.module.delta.RemovePropertiesTask
- All Implemented Interfaces:
- Task
- Direct Known Subclasses:
- RemovePropertyTask
public class RemovePropertiesTask
- extends AbstractRepositoryTask
Removes a list of properties referenced by their absolute paths.
In case property does not exist, logs an info message if the flag displayInfoMessageForMissingNodes
is set to true.
Otherwise just continues with the next absolute path from the list.
RemovePropertiesTask
public RemovePropertiesTask(String name,
String workspaceName,
List<String> pathsToRemove,
boolean displayInfoMessageForMissingNodes)
RemovePropertiesTask
public RemovePropertiesTask(String name,
String description,
String workspaceName,
List<String> pathsToRemove,
boolean displayInfoMessageForMissingNodes)
doExecute
protected void doExecute(InstallContext ctx)
throws javax.jcr.RepositoryException,
TaskExecutionException
- Specified by:
doExecute
in class AbstractRepositoryTask
- Throws:
javax.jcr.RepositoryException
TaskExecutionException
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.