Class UssExtAttr
- java.lang.Object
-
- zowe.client.sdk.zosfiles.uss.methods.UssExtAttr
-
public class UssExtAttr extends Object
Provides Unix System Services (USS) extattr functionality- Version:
- 4.0
- Author:
- James Kostrewski
-
-
Constructor Summary
Constructors Constructor Description UssExtAttr(ZosConnection connection)UssCopy ConstructorUssExtAttr(ZosConnection connection, ZosmfRequest request)Alternative UssCopy constructor with ZoweRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdisplay(String targetPath)Returns a response string documenting listing attributesResponsereset(String targetPath, String value)Resets the attributes of a file or directoryResponseset(String targetPath, String value)Extends the attributes of a file or directory
-
-
-
Constructor Detail
-
UssExtAttr
public UssExtAttr(ZosConnection connection)
UssCopy Constructor- Parameters:
connection- for connection information, see ZosConnection object
-
UssExtAttr
public UssExtAttr(ZosConnection connection, ZosmfRequest request)
Alternative UssCopy constructor with ZoweRequest object. This is mainly used for internal code unit testing with mockito, and it is not recommended to be used by the larger community.- Parameters:
connection- for connection information, see ZosConnection objectrequest- any compatible ZoweRequest Interface object
-
-
Method Detail
-
display
public String display(String targetPath) throws ZosmfRequestException
Returns a response string documenting listing attributes- Parameters:
targetPath- path to the file or directory- Returns:
- string output
- Throws:
ZosmfRequestException- request error state
-
set
public Response set(String targetPath, String value) throws ZosmfRequestException
Extends the attributes of a file or directory- Parameters:
targetPath- path to the file or directoryvalue- one or more of the following characters: a,l,p,s- Returns:
- Response object
- Throws:
ZosmfRequestException- request error state
-
reset
public Response reset(String targetPath, String value) throws ZosmfRequestException
Resets the attributes of a file or directory- Parameters:
targetPath- path to the file or directoryvalue- one or more of the following characters: a,l,p,s- Returns:
- Response object
- Throws:
ZosmfRequestException- request error state
-
-