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
public class BootstrapConditionally
- extends NodeExistsDelegateTask
A Task which bootstraps if the node targeted by the bootstrap file does not exist.
(see constructors for details)
Constructor Summary |
BootstrapConditionally(String taskName,
String resourceToBootstrap)
|
BootstrapConditionally(String taskName,
String taskDescription,
String resourceToBootstrap)
Bootstraps the given resource if the corresponding node does not exist yet, does nothing otherwise. |
BootstrapConditionally(String taskName,
String taskDescription,
String repositoryName,
String pathToCheck,
String resourceToBootstrap,
Task ifNodeExists)
Executes the given task if the specified node exists in the specific repository, bootstraps the given resource otherwise. |
BootstrapConditionally(String taskName,
String taskDescription,
String resourceToBootstrap,
Task ifNodeExists)
Bootstraps the given resource if the corresponding node does not exist yet, executes the given task otherwise. |
BootstrapConditionally
public BootstrapConditionally(String taskName,
String resourceToBootstrap)
BootstrapConditionally
public BootstrapConditionally(String taskName,
String taskDescription,
String resourceToBootstrap)
- Bootstraps the given resource if the corresponding node does not exist yet, does nothing otherwise.
BootstrapConditionally
public BootstrapConditionally(String taskName,
String taskDescription,
String resourceToBootstrap,
Task ifNodeExists)
- Bootstraps the given resource if the corresponding node does not exist yet, executes the given task otherwise.
BootstrapConditionally
public BootstrapConditionally(String taskName,
String taskDescription,
String repositoryName,
String pathToCheck,
String resourceToBootstrap,
Task ifNodeExists)
- Executes the given task if the specified node exists in the specific repository, bootstraps the given resource otherwise.
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.