info.magnolia.module.delta
Class ReplaceIfExistsTask

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.delta.ConditionalDelegateTask
          extended by info.magnolia.module.delta.NodeExistsDelegateTask
              extended by info.magnolia.module.delta.ReplaceIfExistsTask
All Implemented Interfaces:
Task

public final class ReplaceIfExistsTask
extends NodeExistsDelegateTask

A task which replaces a node by bootstrapping a file, only if it exists. Outputs a warning if not.


Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
DO_NOTHING, log
 
Constructor Summary
ReplaceIfExistsTask(String name, String description, String warningMessageIfNotExisting, String workspaceName, String pathToCheck, String bootstrapFile)
           
 
Method Summary
 
Methods inherited from class info.magnolia.module.delta.NodeExistsDelegateTask
condition
 
Methods inherited from class info.magnolia.module.delta.ConditionalDelegateTask
execute
 
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

ReplaceIfExistsTask

public ReplaceIfExistsTask(String name,
                           String description,
                           String warningMessageIfNotExisting,
                           String workspaceName,
                           String pathToCheck,
                           String bootstrapFile)


Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.