org.rhq.plugins.apache.util
Interface RuntimeApacheConfiguration.NodeVisitor<T>

Enclosing class:
RuntimeApacheConfiguration

public static interface RuntimeApacheConfiguration.NodeVisitor<T>

This is a node visitor interface to be implemented by the users of the RuntimeApacheConfiguration#walkRuntimeConfig(ApacheAugeasTree, ProcessInfo, ApacheBinaryInfo, Map) or RuntimeApacheConfiguration#walkRuntimeConfig(ApacheDirectiveTree, ProcessInfo, ApacheBinaryInfo, Map) methods.


Method Summary
 void visitConditionalNode(T node, boolean isSatisfied)
          This method is called whenever the apache config tree walker encounters one of the If* directives (IfModule, IfDefine, IfVersion).
 void visitOrdinaryNode(T node)
          This method is called for all "ordinary" directives that the apache config tree walker encounters (i.e.
 

Method Detail

visitConditionalNode

void visitConditionalNode(T node,
                          boolean isSatisfied)
This method is called whenever the apache config tree walker encounters one of the If* directives (IfModule, IfDefine, IfVersion).

Parameters:
node - the If* directive
isSatisfied - true if the directive's condition is satisfied, false otherwise

visitOrdinaryNode

void visitOrdinaryNode(T node)
This method is called for all "ordinary" directives that the apache config tree walker encounters (i.e. all but the ones handled by the #visitConditionalNode(Object) method.

Parameters:
node - the directive


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.