info.magnolia.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.nodebuilder.task.AbstractNodeBuilderTask
              extended by info.magnolia.nodebuilder.task.ModuleNodeBuilderTask
All Implemented Interfaces:
Task

public class ModuleNodeBuilderTask
extends AbstractNodeBuilderTask

A task using the NodeBuilder API, applying operations on a the root node of the current module.

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

Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
log
 
Constructor Summary
ModuleNodeBuilderTask(String name, String description, ErrorHandling errorHandling, NodeOperation... operations)
           
 
Method Summary
protected  Content getRootNode(InstallContext ctx)
           
 
Methods inherited from class info.magnolia.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 Content getRootNode(InstallContext ctx)
                       throws javax.jcr.RepositoryException
Specified by:
getRootNode in class AbstractNodeBuilderTask
Throws:
javax.jcr.RepositoryException


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