|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.plugins.apache.util.AugeasNodeSearch
public class AugeasNodeSearch
| Field Summary | |
|---|---|
static String[] |
NESTED_DIRECTIVES
|
| Constructor Summary | |
|---|---|
AugeasNodeSearch()
|
|
| Method Summary | |
|---|---|
static AugeasNode |
findNodeById(AugeasNode parentNode,
String params)
|
static List<AugeasNode> |
getNodeByParentParams(AugeasNode parentNode,
String nodeName,
List<String> nodeParams)
|
static AugeasNode |
getNodeFromParentById(AugeasNode parentNode,
String params)
|
static int |
getNodeIndex(AugeasNode node)
If there is a more nodes which have the same node name and the same value of parameters than we need index for identification of Node. |
static String |
getNodeKey(AugeasNode node,
AugeasNode parentNode)
Returns the unique identifier of node. |
static String |
getNodeKeyFromParent(AugeasNode node)
Returns the unique identifier of node. |
static String |
getNodeParamString(AugeasNode nd)
Returns all params of node as one string. |
static List<String> |
getParams(AugeasNode node,
AugeasNode parentNode)
|
static List<AugeasNode> |
searchNode(String[] parentNodeNames,
String nodeName,
AugeasNode startNode)
Searches for all nodes in parent nodes's subtree which matches specified criteria. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String[] NESTED_DIRECTIVES
| Constructor Detail |
|---|
public AugeasNodeSearch()
| Method Detail |
|---|
public static List<AugeasNode> searchNode(String[] parentNodeNames,
String nodeName,
AugeasNode startNode)
parentNodeNames - nodeName - startNode -
public static List<AugeasNode> getNodeByParentParams(AugeasNode parentNode,
String nodeName,
List<String> nodeParams)
public static List<String> getParams(AugeasNode node,
AugeasNode parentNode)
public static String getNodeParamString(AugeasNode nd)
nd -
public static int getNodeIndex(AugeasNode node)
node -
public static String getNodeKeyFromParent(AugeasNode node)
node -
public static String getNodeKey(AugeasNode node,
AugeasNode parentNode)
node - parentNode -
public static AugeasNode findNodeById(AugeasNode parentNode,
String params)
public static AugeasNode getNodeFromParentById(AugeasNode parentNode,
String params)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||