public class ModelNodeAdapter extends Object implements JSONSerializeable
| Modifier | Constructor and Description |
|---|---|
protected |
ModelNodeAdapter(org.jboss.dmr.ModelNode node,
Map<String,String[]> propertyKeys) |
| Modifier and Type | Method and Description |
|---|---|
protected org.jboss.dmr.ModelNode |
getNode() |
protected Map<String,String[]> |
getPropertyKeys() |
String |
toJson()
The JSON representation
|
String |
toJson(boolean compact)
The JSON representation
|
String |
toString() |
protected org.jboss.dmr.ModelNode getNode()
public String toJson()
JSONSerializeabletoJson in interface JSONSerializeablepublic String toJson(boolean compact)
JSONSerializeabletoJson in interface JSONSerializeablecompact - true if it should be compact; false otherwiseCopyright © 2020 Red Hat, Inc. All Rights Reserved.