org.rhq.augeas.tree.impl
Class AugeasTreeReal
java.lang.Object
org.rhq.augeas.tree.impl.AbstractAugeasTree
org.rhq.augeas.tree.impl.AugeasTreeReal
- All Implemented Interfaces:
- AugeasTree
public class AugeasTreeReal
- extends AbstractAugeasTree
Eager representation of the Augeas tree.
- Author:
- Filip Drabek, Lukas Krejci
| Methods inherited from class org.rhq.augeas.tree.impl.AbstractAugeasTree |
createNode, get, getAugeas, getFile, getIncludeGlobs, getLoadedNode, getModuleConfig, getNode, getNodeBuffer, getRootNode, match, matchRelative, save, setRootNode, setValue, summarizeAugeasError |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AugeasTreeReal
public AugeasTreeReal(net.augeas.Augeas ag,
AugeasModuleConfig moduleConfig)
createNode
public AugeasNode createNode(String fullPath)
throws AugeasTreeException
- Description copied from interface:
AugeasTree
- Creates a new node on given path. If there already exists a node on given path,
it is returned instead.
- Returns:
-
- Throws:
AugeasTreeException
removeNode
public void removeNode(AugeasNode node,
boolean updateSeq)
throws AugeasTreeException
- Description copied from interface:
AugeasTree
- Removes the node from the tree optionally updating the sequence numbers
of its siblings.
- Parameters:
node - the node to removeupdateSeq - whether to update sequence numbers or not.
- Throws:
AugeasTreeException
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.