info.magnolia.module.delta
Class RemoveNodeTask

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.delta.AbstractRepositoryTask
          extended by info.magnolia.module.delta.RemoveNodeTask
All Implemented Interfaces:
Task
Direct Known Subclasses:
RemoveNodeAndEmptyParentTask

public class RemoveNodeTask
extends AbstractRepositoryTask

Removes the specified node.

Version:
$Revision: $ ($Author: $)
Author:
gjoseph

Field Summary
protected  String pathToRemove
           
protected  String workspaceName
           
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
log
 
Constructor Summary
RemoveNodeTask(String name, String description, String workspaceName, String pathToRemove)
           
 
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
 

Field Detail

workspaceName

protected final String workspaceName

pathToRemove

protected final String pathToRemove
Constructor Detail

RemoveNodeTask

public RemoveNodeTask(String name,
                      String description,
                      String workspaceName,
                      String pathToRemove)
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–2014 Magnolia International Ltd.. All rights reserved.