public class AugeasNodeReal extends AugeasNodeBase implements AugeasNode
ag, childNodes, label, parentNode, path, seq, value| Constructor and Description |
|---|
AugeasNodeReal() |
AugeasNodeReal(AugeasNode parentNode,
AugeasTree ag,
String fullPath) |
AugeasNodeReal(AugeasNode parentNode,
AugeasTree tree,
String label,
int seq) |
AugeasNodeReal(String path,
String label,
int seq,
String value) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChildNode(AugeasNode node) |
boolean |
equals(Object obj) |
List<AugeasNode> |
getChildByLabel(String labelName) |
String |
getFullPath() |
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.
|
getChildNodes, getLabel, getParentNode, getPath, getSeq, getValue, setLabel, setSeq, setValueclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildNodes, getLabel, getParentNode, getPath, getSeq, getValue, setLabel, setSeq, setValuepublic AugeasNodeReal()
public AugeasNodeReal(AugeasNode parentNode, AugeasTree tree, String label, int seq)
public AugeasNodeReal(AugeasNode parentNode, AugeasTree ag, String fullPath)
public boolean equals(Object obj)
equals in interface AugeasNodeequals in class Objectpublic String getFullPath()
getFullPath in interface AugeasNodepublic void addChildNode(AugeasNode node)
addChildNode in interface AugeasNodepublic 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.