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 JsonParsegetInstance()Get singleton instanceUnixZfsparseResponse()Transform data into UnixZfs objectJsonParsesetJsonObject(org.json.simple.JSONObject data)Set the data to be parsedvoidsetModeStr(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:
parseResponsein 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:
setJsonObjectin interfaceJsonParse- Parameters:
data- json data to parse- Returns:
- JsonParseResponse this object
-
-