Class UssDelete
- java.lang.Object
-
- zowe.client.sdk.zosfiles.uss.methods.UssDelete
-
public class UssDelete extends Object
Provides Unix System Services (USS) delete object functionality- Version:
- 2.0
- Author:
- James Kostrewski
-
-
Constructor Summary
Constructors Constructor Description UssDelete(ZosConnection connection)UssDelete ConstructorUssDelete(ZosConnection connection, ZosmfRequest request)Alternative UssDelete constructor with ZoweRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Responsedelete(String targetPath)Perform UNIX delete file or directory name requestResponsedelete(String targetPath, boolean recursive)Perform UNIX delete file or directory name request with recursive flagResponsezfsDelete(String fileSystemName)Delete UNIX zFS Filesystem
-
-
-
Constructor Detail
-
UssDelete
public UssDelete(ZosConnection connection)
UssDelete Constructor- Parameters:
connection- connection information, see ZosConnection object
-
UssDelete
public UssDelete(ZosConnection connection, ZosmfRequest request)
Alternative UssDelete 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
-
delete
public Response delete(String targetPath)
Perform UNIX delete file or directory name request- Parameters:
targetPath- the name of the file or directory you are going to delete- Returns:
- Response object
-
delete
public Response delete(String targetPath, boolean recursive)
Perform UNIX delete file or directory name request with recursive flag- Parameters:
targetPath- the name of the file or directory you are going to deleterecursive- flag indicates if contents of directory should also be deleted- Returns:
- Response object
-
-