asProperty| Constructor and Description |
|---|
ResourceAddress() |
ResourceAddress(ModelNode address) |
| Modifier and Type | Method and Description |
|---|---|
ResourceAddress |
add(ResourceAddress address)
Adds the specified address to this address.
|
ResourceAddress |
add(String propertyName,
String propertyValue)
Adds the specified segment to this address.
|
String |
firstValue() |
static ResourceAddress |
from(String address)
Creates a new resource address from the specified string.
|
ResourceAddress |
getParent() |
boolean |
isEmpty() |
String |
lastName() |
String |
lastValue() |
ResourceAddress |
replaceValue(String name,
String newValue)
Replaces the value in the specified segment
|
static ResourceAddress |
root() |
int |
size() |
String |
toString()
Get a human-readable string representation of this model node, formatted nicely (possibly on multiple lines).
|
add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, addEmptyList, addEmptyObject, addExpression, as, asBigDecimal, asBigInteger, asBoolean, asBoolean, asBytes, asDouble, asDouble, asInt, asInt, asList, asLong, asLong, asObject, asProperty, asPropertyList, asString, asType, clear, clone, equals, equals, format, fromBase64, get, get, get, getFailureDescription, getType, has, has, hasDefined, hasDefined, hashCode, isDefined, isFailure, jsAsList, jsAsProperties, jsCreate, jsGetJSONString, keys, protect, remove, require, require, resolve, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, setEmptyList, setEmptyObject, setExpression, setExpression, toBase64String, toJSONString, toJSONString, writeExternal@JsIgnore public ResourceAddress()
@JsIgnore public ResourceAddress(ModelNode address)
public static ResourceAddress root()
public static ResourceAddress from(String address)
@JsMethod(name="addSegment") public ResourceAddress add(String propertyName, String propertyValue)
@JsMethod(name="addAddress") public ResourceAddress add(ResourceAddress address)
address - The address to add.@JsProperty(name="firstValue") public String firstValue()
@JsProperty(name="lastName") public String lastName()
@JsProperty(name="lastValue") public String lastValue()
@JsProperty public ResourceAddress getParent()
@JsProperty(name="size") public int size()
@JsProperty public boolean isEmpty()
public ResourceAddress replaceValue(String name, String newValue)
name - The name of the segment.newValue - The new value.Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.