public class BootstrapConditionally extends NodeExistsDelegateTask
DO_NOTHING, log
Constructor and Description |
---|
BootstrapConditionally(String taskName,
String resourceToBootstrap)
Bootstraps the given resource if the corresponding node does not exist yet, does nothing otherwise.
|
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.
|
condition
execute
getDescription, getName, toString
public BootstrapConditionally(String taskName, String resourceToBootstrap)
public BootstrapConditionally(String taskName, String taskDescription, String resourceToBootstrap)
public BootstrapConditionally(String taskName, String taskDescription, String resourceToBootstrap, Task ifNodeExists)
public BootstrapConditionally(String taskName, String taskDescription, String repositoryName, String pathToCheck, String resourceToBootstrap, Task ifNodeExists)
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.