info.magnolia.nodebuilder.task
Class NodeBuilderTask

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.NodeBuilderTask
All Implemented Interfaces:
Task

public class NodeBuilderTask
extends AbstractNodeBuilderTask

A task using the NodeBuilder API, applying operations on a given path.

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

Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
log
 
Constructor Summary
NodeBuilderTask(String taskName, String description, ErrorHandling errorHandling, String workspaceName, NodeOperation... operations)
           
NodeBuilderTask(String taskName, String description, ErrorHandling errorHandling, String workspaceName, String rootPath, 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

NodeBuilderTask

public NodeBuilderTask(String taskName,
                       String description,
                       ErrorHandling errorHandling,
                       String workspaceName,
                       NodeOperation... operations)

NodeBuilderTask

public NodeBuilderTask(String taskName,
                       String description,
                       ErrorHandling errorHandling,
                       String workspaceName,
                       String rootPath,
                       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-2013 Magnolia International Ltd.. All Rights Reserved.