public class JBossDmrExtentions extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
asBoolean(org.jboss.dmr.ModelNode node,
Map<String,String[]> propertyKeys,
String key) |
static int |
asInt(org.jboss.dmr.ModelNode node,
Map<String,String[]> propertyKeys,
String key) |
static List |
asList(org.jboss.dmr.ModelNode root,
Map<String,String[]> propertyKeys,
String key,
org.jboss.dmr.ModelType type)
T Returns an ordered List for items that need to be ordered such as command
Args for containers.
|
static Map<String,String> |
asMap(org.jboss.dmr.ModelNode root,
Map<String,String[]> propertyKeys,
String key) |
static Set |
asSet(org.jboss.dmr.ModelNode root,
Map<String,String[]> propertyKeys,
String key,
org.jboss.dmr.ModelType type)
T the type to return which are valid DMR types (e.g. asString()).
|
static String |
asString(org.jboss.dmr.ModelNode node,
Map<String,String[]> propertyKeys,
String key) |
static org.jboss.dmr.ModelNode |
get(org.jboss.dmr.ModelNode node,
Map<String,String[]> propertyKeys,
String key) |
static String[] |
getPath(Map<String,String[]> propertyKeys,
String key) |
static String[] |
getPath(String key) |
static void |
set(org.jboss.dmr.ModelNode node,
Map<String,String[]> propertyKeys,
String key,
boolean value) |
static void |
set(org.jboss.dmr.ModelNode node,
Map<String,String[]> propertyKeys,
String key,
int value) |
static void |
set(org.jboss.dmr.ModelNode node,
Map<String,String[]> propertyKeys,
String key,
Map<String,String> values) |
static void |
set(org.jboss.dmr.ModelNode root,
Map<String,String[]> propertyKeys,
String key,
Set<String> values) |
static void |
set(org.jboss.dmr.ModelNode root,
Map<String,String[]> propertyKeys,
String key,
String... values) |
static void |
set(org.jboss.dmr.ModelNode node,
Map<String,String[]> propertyKeys,
String key,
String value) |
static void |
set(org.jboss.dmr.ModelNode node,
String[] path,
String value) |
static String |
toJsonString(org.jboss.dmr.ModelNode node,
boolean compact)
Serialize a node and sanitize the output by removing nulls
|
public static String toJsonString(org.jboss.dmr.ModelNode node, boolean compact)
public static void set(org.jboss.dmr.ModelNode node,
Map<String,String[]> propertyKeys,
String key,
boolean value)
public static void set(org.jboss.dmr.ModelNode node,
Map<String,String[]> propertyKeys,
String key,
String value)
public static void set(org.jboss.dmr.ModelNode node,
Map<String,String[]> propertyKeys,
String key,
int value)
public static void set(org.jboss.dmr.ModelNode node,
Map<String,String[]> propertyKeys,
String key,
Map<String,String> values)
public static void set(org.jboss.dmr.ModelNode root,
Map<String,String[]> propertyKeys,
String key,
Set<String> values)
public static void set(org.jboss.dmr.ModelNode root,
Map<String,String[]> propertyKeys,
String key,
String... values)
public static Map<String,String> asMap(org.jboss.dmr.ModelNode root, Map<String,String[]> propertyKeys, String key)
UnregisteredPropertyException - if the property is not found in the property mappublic static Set asSet(org.jboss.dmr.ModelNode root, Map<String,String[]> propertyKeys, String key, org.jboss.dmr.ModelType type)
public static List asList(org.jboss.dmr.ModelNode root, Map<String,String[]> propertyKeys, String key, org.jboss.dmr.ModelType type)
public static int asInt(org.jboss.dmr.ModelNode node,
Map<String,String[]> propertyKeys,
String key)
UnregisteredPropertyException - if the property is not found in the property mappublic static String asString(org.jboss.dmr.ModelNode node, Map<String,String[]> propertyKeys, String key)
UnregisteredPropertyException - if the property is not found in the property mappublic static boolean asBoolean(org.jboss.dmr.ModelNode node,
Map<String,String[]> propertyKeys,
String key)
UnregisteredPropertyException - if the property is not found in the property mappublic static org.jboss.dmr.ModelNode get(org.jboss.dmr.ModelNode node,
Map<String,String[]> propertyKeys,
String key)
Copyright © 2019 Red Hat, Inc. All Rights Reserved.