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(java.lang.String taskName, java.lang.String description, ErrorHandling errorHandling, java.lang.String workspaceName, NodeOperation... operations)
           
NodeBuilderTask(java.lang.String taskName, java.lang.String description, ErrorHandling errorHandling, java.lang.String workspaceName, java.lang.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(java.lang.String taskName,
                       java.lang.String description,
                       ErrorHandling errorHandling,
                       java.lang.String workspaceName,
                       NodeOperation... operations)

NodeBuilderTask

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