info.magnolia.nodebuilder.task
Class AbstractNodeBuilderTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.AbstractRepositoryTask
info.magnolia.nodebuilder.task.AbstractNodeBuilderTask
- All Implemented Interfaces:
- Task
- Direct Known Subclasses:
- ModuleConfigNodeBuilderTask, ModuleNodeBuilderTask, NodeBuilderTask
public abstract class AbstractNodeBuilderTask
- extends AbstractRepositoryTask
Base class for Task
s using the node builder API.
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
AbstractNodeBuilderTask
public AbstractNodeBuilderTask(String name,
String description,
ErrorHandling errorHandling,
NodeOperation... operations)
doExecute
protected void doExecute(InstallContext ctx)
throws javax.jcr.RepositoryException,
TaskExecutionException
- Specified by:
doExecute
in class AbstractRepositoryTask
- Throws:
javax.jcr.RepositoryException
TaskExecutionException
getRootNode
protected abstract Content getRootNode(InstallContext ctx)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
newErrorHandler
protected ErrorHandler newErrorHandler(InstallContext ctx)
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.