public class ResourceDescription
extends org.jboss.dmr.ModelNode
| Modifier and Type | Field and Description |
|---|---|
static ResourceDescription |
EMPTY |
| Constructor and Description |
|---|
ResourceDescription() |
ResourceDescription(org.jboss.dmr.ModelNode description) |
| Modifier and Type | Method and Description |
|---|---|
static ResourceDescription |
from(org.jboss.dmr.ModelNode response) |
List<org.jboss.dmr.Property> |
getAttributes() |
ResourceDescription |
getChildDescription(String childType)
Looks for the description of a child resource.
|
ResourceDescription |
getChildDescription(String type,
String name)
Looks for the description of a specific child resource.
|
Set<String> |
getChildrenTypes() |
Set<String> |
getSingletonChildrenTypes() |
String |
getSingletonName() |
String |
getText() |
boolean |
hasAccessControl() |
boolean |
hasAttributes() |
boolean |
hasChildrenDefined() |
boolean |
hasNotifications() |
boolean |
hasOperations() |
boolean |
isSingleton() |
void |
setSingletonName(String name) |
add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, addEmptyList, addEmptyObject, addExpression, asBigDecimal, asBigDecimalOrNull, asBigInteger, asBigIntegerOrNull, asBoolean, asBoolean, asBooleanOrNull, asBytes, asBytesOrNull, asDouble, asDouble, asDoubleOrNull, asExpression, asInt, asInt, asIntOrNull, asList, asLong, asLong, asLongOrNull, asObject, asProperty, asPropertyList, asString, asString, asStringOrNull, asType, clear, clone, equals, equals, fromBase64, fromBase64String, fromJSONStream, fromJSONString, fromStream, fromString, get, get, get, getType, has, has, has, hasDefined, hasDefined, hasDefined, hashCode, insert, insert, isDefined, keys, protect, readExternal, readExternal, readExternal, readExternal, remove, 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, set, setEmptyList, setEmptyObject, setExpression, setExpression, toJSONString, toString, writeBase64, writeExternal, writeExternal, writeExternal, writeExternal, writeJSONString, writeStringpublic static final ResourceDescription EMPTY
public ResourceDescription()
public ResourceDescription(org.jboss.dmr.ModelNode description)
public boolean hasAttributes()
public List<org.jboss.dmr.Property> getAttributes()
public boolean hasAccessControl()
public boolean hasChildrenDefined()
public boolean hasOperations()
public boolean hasNotifications()
public ResourceDescription getChildDescription(String childType)
childType - The type of the child resourceEMPTY if no such resource exists.public ResourceDescription getChildDescription(String type, String name)
type - The type of the child resourcename - The name of the instanceEMPTY if no such resource exists.public static ResourceDescription from(org.jboss.dmr.ModelNode response)
public String getText()
public boolean isSingleton()
public String getSingletonName()
public void setSingletonName(String name)
Copyright © 2017 JBoss by Red Hat. All rights reserved.