it.openutils.mgnltasks
Class BootstrapMissingNodesTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.BootstrapResourcesTask
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
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 |
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
-
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.