info.magnolia.jcr.nodebuilder.task
Class ModuleNodeBuilderTask

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.delta.AbstractRepositoryTask
          extended by info.magnolia.jcr.nodebuilder.task.AbstractNodeBuilderTask
              extended by info.magnolia.jcr.nodebuilder.task.ModuleNodeBuilderTask
All Implemented Interfaces:
Task

public class ModuleNodeBuilderTask
extends AbstractNodeBuilderTask

A task using the info.magnolia.jcr.nodebuilder API, applying operations on a the root node of the current module.


Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
DO_NOTHING, log
 
Constructor Summary
ModuleNodeBuilderTask(String name, String description, ErrorHandling errorHandling, NodeOperation... operations)
           
 
Method Summary
protected  javax.jcr.Node getRootNode(InstallContext ctx)
           
 
Methods inherited from class info.magnolia.jcr.nodebuilder.task.AbstractNodeBuilderTask
doExecute, newErrorHandler
 
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

ModuleNodeBuilderTask

public ModuleNodeBuilderTask(String name,
                             String description,
                             ErrorHandling errorHandling,
                             NodeOperation... operations)
Method Detail

getRootNode

protected javax.jcr.Node getRootNode(InstallContext ctx)
                              throws javax.jcr.RepositoryException
Specified by:
getRootNode in class AbstractNodeBuilderTask
Throws:
javax.jcr.RepositoryException


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