org.rhq.augeas.tree.impl
Class DefaultAugeasTreeBuilder

java.lang.Object
  extended by org.rhq.augeas.tree.impl.DefaultAugeasTreeBuilder
All Implemented Interfaces:
AugeasTreeBuilder

public class DefaultAugeasTreeBuilder
extends Object
implements AugeasTreeBuilder

Default implementation of the tree builder. This just loads the data from Augeas and represents the returned data as the node tree without any modifications.

Author:
Filip Drabek

Constructor Summary
DefaultAugeasTreeBuilder()
           
 
Method Summary
 AugeasTree buildTree(AugeasProxy component, AugeasConfiguration moduleConfig, String name, boolean lazy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAugeasTreeBuilder

public DefaultAugeasTreeBuilder()
Method Detail

buildTree

public AugeasTree buildTree(AugeasProxy component,
                            AugeasConfiguration moduleConfig,
                            String name,
                            boolean lazy)
                     throws AugeasTreeException
Specified by:
buildTree in interface AugeasTreeBuilder
Parameters:
component - provides direct access to Augeas should the builder need it
moduleConfig - which Augeas module to use to build the tree
name - the name of the module to load
lazy - should the tree built lazily or eagerly
Returns:
fully built representation of the Augeas data
Throws:
AugeasTreeException


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