| Modifier and Type | Method and Description |
|---|---|
Address |
Address.add(Address address)
Appends the given address to this address.
|
Address |
Address.add(String... addressParts)
Appends the given address parts to this address.
|
Address |
Address.add(String type,
String name)
Adds a single level to this address.
|
Address |
Address.clone() |
static Address |
Address.fromModelNode(org.jboss.dmr.ModelNode node)
Obtains the address from the given ModelNode which is assumed to be a property list that
contains all the address parts and only the address parts.
|
static Address |
Address.fromModelNodeWrapper(org.jboss.dmr.ModelNode haystack,
String needle)
Obtains an address property list from the given ModelNode wrapper.
|
static Address |
Address.parse(String addressStr)
Parses a flat address string that has the syntax "/type1=name/type2=name/.../typeN=nameN".
|
static Address |
Address.root()
Returns the root address which is denoted as the flat address string of "/".
|
| Modifier and Type | Method and Description |
|---|---|
Address |
Address.add(Address address)
Appends the given address to this address.
|
static org.jboss.dmr.ModelNode |
JBossASClient.createReadAttributeRequest(boolean runtime,
String attributeName,
Address address)
Convienence method that allows you to create request that reads a single attribute
value to a resource.
|
static org.jboss.dmr.ModelNode |
JBossASClient.createReadAttributeRequest(String attributeName,
Address address)
Convienence method that allows you to create request that reads a single attribute
value to a resource.
|
static org.jboss.dmr.ModelNode |
JBossASClient.createRequest(String operation,
Address address)
Convienence method that builds a partial operation request node.
|
static org.jboss.dmr.ModelNode |
JBossASClient.createRequest(String operation,
Address address,
org.jboss.dmr.ModelNode extra)
Convienence method that builds a partial operation request node, with additional
node properties supplied by the given node.
|
static org.jboss.dmr.ModelNode |
JBossASClient.createWriteAttributeRequest(String attributeName,
String attributeValue,
Address address)
Convienence method that allows you to create request that writes a single attribute's
string value to a resource.
|
org.jboss.dmr.ModelNode |
JBossASClient.findNodeInList(Address addr,
String haystack,
String needle)
This tries to find specific node within a list of nodes.
|
org.jboss.dmr.ModelNode |
JBossASClient.getAttribute(boolean runtime,
String attributeName,
Address address)
Convienence method that allows you to obtain a single attribute's value from a resource.
|
org.jboss.dmr.ModelNode |
JBossASClient.getAttribute(String attributeName,
Address address)
Convienence method that allows you to obtain a single attribute's value from a resource.
|
String |
JBossASClient.getStringAttribute(boolean runtime,
String attributeName,
Address address)
Convienence method that allows you to obtain a single attribute's string value from
a resource.
|
String |
JBossASClient.getStringAttribute(String attributeName,
Address address)
Convienence method that allows you to obtain a single attribute's string value from
a resource.
|
org.jboss.dmr.ModelNode |
JBossASClient.readResource(Address addr)
This returns information on the resource at the given address.
|
org.jboss.dmr.ModelNode |
JBossASClient.readResource(Address addr,
boolean recursive)
This returns information on the resource at the given address, recursively
returning child nodes with the result if recursive argument is set to
true. |
void |
JBossASClient.remove(Address doomedAddr)
Removes the resource at the given address.
|
Copyright © 2015 Red Hat, Inc.. All rights reserved.