Package zowe.client.sdk.parse
Class UnixZfsParseResponse
- java.lang.Object
-
- zowe.client.sdk.parse.UnixZfsParseResponse
-
- All Implemented Interfaces:
JsonParseResponse
public final class UnixZfsParseResponse extends Object implements JsonParseResponse
Extract UNIX zfs from json response- 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 instanceUnixZfs
parseResponse()
Transform data into UnixZfs objectJsonParseResponse
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 JsonParseResponse getInstance()
Get singleton instance- Returns:
- UnixZfsParseResponse object
-
parseResponse
public UnixZfs parseResponse()
Transform data into UnixZfs object- Specified by:
parseResponse
in interfaceJsonParseResponse
- 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 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
-
-