Package zowe.client.sdk.parse
Class UnixZfsJsonParse
- java.lang.Object
-
- zowe.client.sdk.parse.UnixZfsJsonParse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsonParse
getInstance()
Get singleton instanceUnixZfs
parseResponse()
Transform data into UnixZfs objectJsonParse
setJsonObject(org.json.simple.JSONObject data)
Set the data to be parsedvoid
setModeStr(String modeStr)
Special field that holds a String comma delimited with mode permission values.
-
-
-
Method Detail
-
getInstance
public static JsonParse getInstance()
Get singleton instance- Returns:
- UnixZfsParseResponse object
-
parseResponse
public UnixZfs parseResponse()
Transform data into UnixZfs object- Specified by:
parseResponse
in interfaceJsonParse
- Returns:
- UssZfsItem object
-
setModeStr
public void setModeStr(String modeStr)
Special field that holds a String comma delimited with mode permission values. Value is parsed by parent calling and set here to be included in main parse object done in parseResponse() method.- Parameters:
modeStr
- mode permission(s) string value
-
setJsonObject
public JsonParse setJsonObject(org.json.simple.JSONObject data)
Set the data to be parsed- Specified by:
setJsonObject
in interfaceJsonParse
- Parameters:
data
- json data to parse- Returns:
- JsonParseResponse this object
-
-