info.magnolia.module.delta
Class RemoveNodeWoChildren
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.AbstractRepositoryTask
info.magnolia.module.delta.RemoveNodeWoChildren
- All Implemented Interfaces:
- Task
public class RemoveNodeWoChildren
- extends AbstractRepositoryTask
A task that removes node if that has no children.
RemoveNodeWoChildren
public RemoveNodeWoChildren(String name,
String pathToCheck)
RemoveNodeWoChildren
public RemoveNodeWoChildren(String name,
String description,
String workspaceName,
String pathToCheck)
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.