info.magnolia.module.delta
Class BootstrapConditionally
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.ConditionalDelegateTask
info.magnolia.module.delta.NodeExistsDelegateTask
info.magnolia.module.delta.BootstrapConditionally
- All Implemented Interfaces:
- Task
- Direct Known Subclasses:
- MigrateFilterConfiguration
public class BootstrapConditionally
- extends NodeExistsDelegateTask
A Task which bootstraps if the node targeted by the bootstrap file does not exist.
(see constructors for details)
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
Constructor Summary |
BootstrapConditionally(java.lang.String taskName,
java.lang.String taskDescription,
java.lang.String resourceToBootstrap)
Bootstraps the given resource if the corresponding node does not exist yet, does nothing otherwise. |
BootstrapConditionally(java.lang.String taskName,
java.lang.String taskDescription,
java.lang.String repositoryName,
java.lang.String pathToCheck,
java.lang.String resourceToBootstrap,
Task ifNodeExists)
Executes the given task if the specified node exists in the specific repository, bootstraps the given resource otherwise. |
BootstrapConditionally(java.lang.String taskName,
java.lang.String taskDescription,
java.lang.String resourceToBootstrap,
Task ifNodeExists)
Bootstraps the given resource if the corresponding node does not exist yet, executes the given task otherwise. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BootstrapConditionally
public BootstrapConditionally(java.lang.String taskName,
java.lang.String taskDescription,
java.lang.String resourceToBootstrap)
- Bootstraps the given resource if the corresponding node does not exist yet, does nothing otherwise.
BootstrapConditionally
public BootstrapConditionally(java.lang.String taskName,
java.lang.String taskDescription,
java.lang.String resourceToBootstrap,
Task ifNodeExists)
- Bootstraps the given resource if the corresponding node does not exist yet, executes the given task otherwise.
BootstrapConditionally
public BootstrapConditionally(java.lang.String taskName,
java.lang.String taskDescription,
java.lang.String repositoryName,
java.lang.String pathToCheck,
java.lang.String resourceToBootstrap,
Task ifNodeExists)
- Executes the given task if the specified node exists in the specific repository, bootstraps the given resource otherwise.
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.