it.openutils.mgnltasks
Class BootstrapMissingNodesTask

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.delta.BootstrapResourcesTask
          extended by it.openutils.mgnltasks.BootstrapMissingNodesTask
All Implemented Interfaces:
info.magnolia.module.delta.Task

public class BootstrapMissingNodesTask
extends info.magnolia.module.delta.BootstrapResourcesTask

Bootstrap all the files in a single directory, only if nodes are not already existing in the repository. The folder must be available in the classpath into the "mgnl-bootstrap" directory.

Version:
$Id: BootstrapMissingNodesTask.java 1830 2010-02-07 10:16:00Z fgiust $
Author:
fgiust

Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
log
 
Constructor Summary
BootstrapMissingNodesTask(String folder)
          Bootstrap all the files included in the /mgnl-bootstrap/(folder) directory, only if the nodes are not already existing.
 
Method Summary
protected  boolean acceptResource(info.magnolia.module.InstallContext installContext, String name)
          
 
Methods inherited from class info.magnolia.module.delta.BootstrapResourcesTask
execute, getResourcesToBootstrap
 
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

BootstrapMissingNodesTask

public BootstrapMissingNodesTask(String folder)
Bootstrap all the files included in the /mgnl-bootstrap/(folder) directory, only if the nodes are not already existing.

Parameters:
folder -
Method Detail

acceptResource

protected boolean acceptResource(info.magnolia.module.InstallContext installContext,
                                 String name)

Overrides:
acceptResource in class info.magnolia.module.delta.BootstrapResourcesTask


Copyright © 2008-2010 Openmind. All Rights Reserved.