info.magnolia.module.delta
Class RemoveNodesTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.AbstractRepositoryTask
info.magnolia.module.delta.RemoveNodesTask
- All Implemented Interfaces:
- Task
- Direct Known Subclasses:
- RemoveNodeTask
public class RemoveNodesTask
- extends AbstractRepositoryTask
Removes a list of nodes referenced by their absolute paths.
In case a Node
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.
RemoveNodesTask
public RemoveNodesTask(String name,
String workspace,
List<String> pathsToRemove,
boolean displayInfoMessageForMissingNodes)
RemoveNodesTask
public RemoveNodesTask(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.