info.magnolia.module.delta
Class RemoveNodeWoChildren

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.delta.AbstractRepositoryTask
          extended by info.magnolia.module.delta.RemoveNodeWoChildren
All Implemented Interfaces:
Task

public class RemoveNodeWoChildren
extends AbstractRepositoryTask

A task that removes node if that has no children.

Version:
$Revision: $ ($Author: $)
Author:
ochytil

Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
log
 
Constructor Summary
RemoveNodeWoChildren(java.lang.String name, java.lang.String description, java.lang.String workspaceName, java.lang.String pathToCheck)
           
 
Method Summary
protected  void doExecute(InstallContext ctx)
           
 
Methods inherited from class info.magnolia.module.delta.AbstractRepositoryTask
execute
 
Methods inherited from class info.magnolia.module.delta.AbstractTask
getDescription, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoveNodeWoChildren

public RemoveNodeWoChildren(java.lang.String name,
                            java.lang.String description,
                            java.lang.String workspaceName,
                            java.lang.String pathToCheck)
Method Detail

doExecute

protected void doExecute(InstallContext ctx)
                  throws javax.jcr.RepositoryException,
                         TaskExecutionException
Specified by:
doExecute in class AbstractRepositoryTask
Throws:
javax.jcr.RepositoryException
TaskExecutionException


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.