Package zowe.client.sdk.parse
Class PropsParseResponse
- java.lang.Object
-
- zowe.client.sdk.parse.PropsParseResponse
-
- All Implemented Interfaces:
JsonParseResponse
public final class PropsParseResponse extends Object implements JsonParseResponse
Parse json response into property list- Version:
- 2.0
- Author:
- Frank Giordano
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsonParseResponse
getInstance()
Get singleton instanceObject
parseResponse()
Parse team config's properties json representation into a Map objectJsonParseResponse
setJsonObject(org.json.simple.JSONObject data)
Set the data to be parsed
-
-
-
Method Detail
-
getInstance
public static JsonParseResponse getInstance()
Get singleton instance- Returns:
- PropsParseResponse object
-
parseResponse
public Object parseResponse()
Parse team config's properties json representation into a Map object- Specified by:
parseResponse
in interfaceJsonParseResponse
- Returns:
- hashmap of property values
-
setJsonObject
public JsonParseResponse setJsonObject(org.json.simple.JSONObject data)
Set the data to be parsed- Specified by:
setJsonObject
in interfaceJsonParseResponse
- Parameters:
data
- json data to parse- Returns:
- JsonParseResponse this object
-
-