@JsType(namespace="hal.meta")
public class ResourceDescription
extends org.jboss.hal.dmr.ModelNode
| Constructor and Description |
|---|
ResourceDescription(org.jboss.hal.dmr.ModelNode payload) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
findAlternatives(String path,
String name)
Returns the alternatives for the specified attribute.
|
org.jboss.hal.dmr.Property |
findAttribute(String path,
String name) |
List<String> |
findRequires(String path,
String name)
Returns the attributes which require the specified attribute.
|
List<org.jboss.hal.dmr.Property> |
getAttributes(String path) |
List<org.jboss.hal.dmr.Property> |
getAttributes(String path,
String group) |
String |
getDescription() |
List<org.jboss.hal.dmr.Property> |
getOperations() |
List<org.jboss.hal.dmr.Property> |
getRequiredAttributes(String path) |
boolean |
isDefaultValue(String path,
String name,
Object value) |
org.jboss.hal.dmr.Property[] |
jsGetAttributes() |
org.jboss.hal.dmr.Property[] |
jsGetRequestProperties() |
org.jboss.hal.dmr.Property[] |
jsOperations() |
add, 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, toString, writeExternal@JsIgnore public ResourceDescription(org.jboss.hal.dmr.ModelNode payload)
@JsProperty public String getDescription()
@JsIgnore public List<org.jboss.hal.dmr.Property> getAttributes(String path, String group)
@JsIgnore public List<org.jboss.hal.dmr.Property> getRequiredAttributes(String path)
@JsIgnore public List<org.jboss.hal.dmr.Property> getOperations()
@JsIgnore public List<String> findAlternatives(String path, String name)
path - the path to look for the attributename - the name of the attributename or an empty list if name has no alternatives or if there's no
attribute name@JsIgnore public List<String> findRequires(String path, String name)
path - the path to look for the attributename - the name of the attribute which is required by the matching attributesname or if there's
no attribute name@JsMethod(name="getAttributes") public org.jboss.hal.dmr.Property[] jsGetAttributes()
@JsMethod(name="getRequestProperties") public org.jboss.hal.dmr.Property[] jsGetRequestProperties()
@JsProperty(name="operations") public org.jboss.hal.dmr.Property[] jsOperations()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.