Class UssGetAcl
- java.lang.Object
-
- zowe.client.sdk.zosfiles.uss.methods.UssGetAcl
-
public class UssGetAcl extends Object
Provides Unix System Services (USS) getfacl functionality- Version:
- 4.0
- Author:
- James Kostrewski
-
-
Constructor Summary
Constructors Constructor Description UssGetAcl(ZosConnection connection)UssGetAcl Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringget(String targetPath, boolean useCommas)Get the ACL for a USS file or directoryResponsegetAclCommon(String targetPath, UssGetAclInputData params)Get the ACL for a USS file or directory
-
-
-
Constructor Detail
-
UssGetAcl
public UssGetAcl(ZosConnection connection)
UssGetAcl Constructor- Parameters:
connection- for connection information, see ZosConnection object
-
-
Method Detail
-
get
public String get(String targetPath, boolean useCommas) throws ZosmfRequestException
Get the ACL for a USS file or directory- Parameters:
targetPath- file name with a pathuseCommas- true if commas are to be used in the output- Returns:
- string representation of response phrase
- Throws:
ZosmfRequestException- request error state
-
getAclCommon
public Response getAclCommon(String targetPath, UssGetAclInputData params) throws ZosmfRequestException
Get the ACL for a USS file or directory- Parameters:
targetPath- file name with a pathparams- GetAclParams object to drive the request- Returns:
- Response object
- Throws:
ZosmfRequestException- request error state
-
-