public class ConfigurationContentParser extends Object
| Constructor and Description |
|---|
ConfigurationContentParser()
Empty constructor: Used only to keep GSON happy.
|
ConfigurationContentParser(String json)
Constructor for an ConfigurationContentParser that is built using the provided json
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getDeviceContent()
Getter for deviceContent
|
Map<String,Map<String,Object>> |
getModulesContent()
Getter for modulesContent
|
void |
setDeviceContent(Map<String,Object> deviceContent)
Setter for deviceContent
|
void |
setModulesContent(Map<String,Map<String,Object>> modulesContent)
Setter for modulesContent
|
String |
toJson() |
com.google.gson.JsonElement |
toJsonElement() |
public ConfigurationContentParser()
public ConfigurationContentParser(String json)
json - the json string to build the ConfigurationContentParser out ofpublic String toJson()
public Map<String,Map<String,Object>> getModulesContent()
public void setModulesContent(Map<String,Map<String,Object>> modulesContent)
modulesContent - the value to set results topublic Map<String,Object> getDeviceContent()
public void setDeviceContent(Map<String,Object> deviceContent)
deviceContent - the value to set deviceContent topublic com.google.gson.JsonElement toJsonElement()
Copyright © 2019. All rights reserved.