org.rhq.plugins.apache.util
Class RuntimeApacheConfiguration.NodeInspector

java.lang.Object
  extended by org.rhq.plugins.apache.util.RuntimeApacheConfiguration.NodeInspector
Enclosing class:
RuntimeApacheConfiguration

public static class RuntimeApacheConfiguration.NodeInspector
extends Object

Node inspector is used to determine how to proceed with the parsing of the configuration file.

Author:
Lukas Krejci

Method Summary
 RuntimeApacheConfiguration.NodeInspectionResult inspect(String currentNodeName, List<String> allValues, String valueAsString)
          Inspects a node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

inspect

public RuntimeApacheConfiguration.NodeInspectionResult inspect(String currentNodeName,
                                                               List<String> allValues,
                                                               String valueAsString)
Inspects a node.

Parameters:
currentNodeName - the name of the node
allValues - the list of all values specified on the node
valueAsString - the original value as a string (from which the list of values was somehow produced)
Returns:
the inspection result or null if there was some unexpected event (which has been logged)


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