info.magnolia.setup.for3_5
Class IPConfigRulesUpdate
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.AbstractRepositoryTask
info.magnolia.module.delta.AllChildrenNodesOperation
info.magnolia.setup.for3_5.IPConfigRulesUpdate
- All Implemented Interfaces:
- Task
public class IPConfigRulesUpdate
- extends AllChildrenNodesOperation
Updates pre 3.5 IP configuration rules to the format used since 3.5.
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
IPConfigRulesUpdate
public IPConfigRulesUpdate()
operateOnChildNode
protected void operateOnChildNode(Content node,
InstallContext ctx)
throws javax.jcr.RepositoryException,
TaskExecutionException
- Update made for each subnode.
old configuration:
rule-name (p) IP
(n) Access
(n) 0001
(p) Method = GET
(n) 0002
(p) Method = POST
new configuration:
rule-name (p) IP = *
(p) methods = GET,POST
- Specified by:
operateOnChildNode
in class AllChildrenNodesOperation
- Throws:
javax.jcr.RepositoryException
TaskExecutionException
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.