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.

Version:
$Revision: $ ($Author: $)
Author:
gjoseph

Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
log
 
Constructor Summary
ReplaceIfExistsTask(java.lang.String name, java.lang.String description, java.lang.String warningMessageIfNotExisting, java.lang.String workspaceName, java.lang.String pathToCheck, java.lang.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(java.lang.String name,
                           java.lang.String description,
                           java.lang.String warningMessageIfNotExisting,
                           java.lang.String workspaceName,
                           java.lang.String pathToCheck,
                           java.lang.String bootstrapFile)


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