consciouscode.seedling.config
Class LayeredConfigTree
java.lang.Object
consciouscode.seedling.config.LayeredConfigTree
- All Implemented Interfaces:
- ConfigTree
- Direct Known Subclasses:
- MockConfigTree
public class LayeredConfigTree
- extends Object
- implements ConfigTree
Class documentation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayeredConfigTree
public LayeredConfigTree(ConfigLayer[] layers)
getLayerCount
public int getLayerCount()
getLayer
public ConfigLayer getLayer(int i)
collectNodeNames
public void collectNodeNames(String branchPath,
Collection<String> names)
- Specified by:
collectNodeNames
in interface ConfigTree
getNodeConfiguration
public NodeConfiguration getNodeConfiguration(NodeReference nodeRef)
throws ConfigurationException
- Description copied from interface:
ConfigTree
- Returns the configuration of a specific node.
- Specified by:
getNodeConfiguration
in interface ConfigTree
- Parameters:
nodeRef
- identifies the desired node.
- Returns:
null
if no configuration exists for the node.
- Throws:
ConfigurationException
- if any problems are encountered.
Copyright © 2001–2012
Todd V. Jonker. All Rights Reserved.