info.magnolia.setup.for4_5
Class RenameOldServletMappingsNodesTask

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.delta.AbstractRepositoryTask
          extended by info.magnolia.module.delta.QueryTask
              extended by info.magnolia.setup.for4_5.RenameOldServletMappingsNodesTask
All Implemented Interfaces:
Task

public class RenameOldServletMappingsNodesTask
extends QueryTask

Renames all servlet mappings nodes starting with "--" to ".-..." to match configuration of clean installation.


Constructor Summary
RenameOldServletMappingsNodesTask()
           
 
Method Summary
protected  void operateOnNode(InstallContext installContext, Content node)
           
protected  void operateOnNode(InstallContext installContext, javax.jcr.Node node)
           
 
Methods inherited from class info.magnolia.module.delta.QueryTask
doExecute
 
Methods inherited from class info.magnolia.module.delta.AbstractRepositoryTask
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

RenameOldServletMappingsNodesTask

public RenameOldServletMappingsNodesTask()
Method Detail

operateOnNode

protected void operateOnNode(InstallContext installContext,
                             javax.jcr.Node node)
Specified by:
operateOnNode in class QueryTask

operateOnNode

protected void operateOnNode(InstallContext installContext,
                             Content node)
Specified by:
operateOnNode in class QueryTask


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