public class AugeasRootNode extends AugeasNodeBase implements AugeasNode
ag, childNodes, label, parentNode, path, seq, value| Constructor and Description |
|---|
AugeasRootNode() |
AugeasRootNode(List<AugeasNode> nodes) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChildNode(AugeasNode node) |
List<AugeasNode> |
getChildByLabel(String labelName) |
List<AugeasNode> |
getChildNodes() |
String |
getFullPath() |
String |
getLabel() |
AugeasNode |
getParentNode() |
String |
getPath() |
void |
remove(boolean updateSeq)
Removes the node from its parent children optionally updating
the sequence numbers of the sibling nodes with the same label.
|
void |
setPath(String path) |
void |
updateFromParent()
Updates the settings of this node according to the data in the parent.
|
getSeq, getValue, setLabel, setSeq, setValuepublic AugeasRootNode(List<AugeasNode> nodes)
public AugeasRootNode()
public void addChildNode(AugeasNode node)
addChildNode in interface AugeasNodepublic List<AugeasNode> getChildNodes()
getChildNodes in interface AugeasNodegetChildNodes in class AugeasNodeBasepublic String getFullPath()
getFullPath in interface AugeasNodepublic String getLabel()
getLabel in interface AugeasNodegetLabel in class AugeasNodeBasepublic AugeasNode getParentNode()
getParentNode in interface AugeasNodegetParentNode in class AugeasNodeBasepublic String getPath()
getPath in interface AugeasNodegetPath in class AugeasNodeBasepublic List<AugeasNode> getChildByLabel(String labelName)
getChildByLabel in interface AugeasNodepublic void remove(boolean updateSeq)
throws AugeasTreeException
AugeasNoderemove in interface AugeasNodeupdateSeq - whether to update the siblings' sequence numbersAugeasTreeExceptionpublic void setPath(String path) throws AugeasTreeException
setPath in interface AugeasNodeAugeasTreeExceptionpublic void updateFromParent()
AugeasNodeupdateFromParent in interface AugeasNodeCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.