info.magnolia.nodebuilder
Class NodeBuilder
java.lang.Object
info.magnolia.nodebuilder.NodeBuilder
public class NodeBuilder
- extends Object
Entry point for using the node builder API.
Also see the NodeBuilderTask
and ModuleNodeBuilderTask
classes for usage of the node builder API in ModuleVersionHandler
s.
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
Method Summary |
void |
exec()
Execute the operations. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeBuilder
public NodeBuilder(Content root,
NodeOperation... childrenOps)
NodeBuilder
public NodeBuilder(ErrorHandler errorHandler,
Content root,
NodeOperation... childrenOps)
exec
public void exec()
throws NodeOperationException
- Execute the operations.
- Throws:
NodeOperationException
- if the given ErrorHandler decided to do so !
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.