Class UssCreate
- java.lang.Object
-
- zowe.client.sdk.zosfiles.uss.methods.UssCreate
-
public class UssCreate extends Object
Provides Unix System Services (USS) create object functionality- Version:
- 2.0
- Author:
- James Kostrewski
-
-
Constructor Summary
Constructors Constructor Description UssCreate(ZosConnection connection)UssCreate ConstructorUssCreate(ZosConnection connection, ZoweRequest request)Alternative UssCreate constructor with ZoweRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Responsecreate(String name, CreateParams params)Perform UNIX create file or directory name request driven by CreateParams object settings
-
-
-
Constructor Detail
-
UssCreate
public UssCreate(ZosConnection connection)
UssCreate Constructor- Parameters:
connection- connection information, see ZosConnection object
-
UssCreate
public UssCreate(ZosConnection connection, ZoweRequest request) throws Exception
Alternative UssCreate 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- Throws:
Exception- processing error
-
-
Method Detail
-
create
public Response create(String name, CreateParams params) throws Exception
Perform UNIX create file or directory name request driven by CreateParams object settings- Parameters:
name- the name of the file or directory you are going to createparams- create response parameters, see CreateParams object- Returns:
- Response object
- Throws:
Exception- error processing request
-
-