Class UssChangeMode
- java.lang.Object
-
- zowe.client.sdk.zosfiles.uss.methods.UssChangeMode
-
public class UssChangeMode extends Object
Provides Unix System Services (USS) chmod functionality- Version:
- 3.0
- Author:
- James Kostrewski
-
-
Constructor Summary
Constructors Constructor Description UssChangeMode(ZosConnection connection)UssChangeMode ConstructorUssChangeMode(ZosConnection connection, ZosmfRequest request)Alternative UssChangeMode constructor with ZoweRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Responsechange(String targetPath, ChangeModeParams params)Change the mode of a UNIX file or directory request driven by ChangeModeParams object settings
-
-
-
Constructor Detail
-
UssChangeMode
public UssChangeMode(ZosConnection connection)
UssChangeMode Constructor- Parameters:
connection- connection information, see ZosConnection object
-
UssChangeMode
public UssChangeMode(ZosConnection connection, ZosmfRequest request)
Alternative UssChangeMode 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- connection information, see ZosConnection objectrequest- any compatible ZoweRequest Interface object
-
-
Method Detail
-
change
public Response change(String targetPath, ChangeModeParams params) throws ZosmfRequestException
Change the mode of a UNIX file or directory request driven by ChangeModeParams object settings- Parameters:
targetPath- identifies the UNIX file or directory to be the target of the operationparams- change mode response parameters, see ChangeModeParams object- Returns:
- Response object
- Throws:
ZosmfRequestException- request error state
-
-