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:
- 5.0
- Author:
- James Kostrewski
-
-
Constructor Summary
Constructors Constructor Description UssDelete(ZosConnection connection)UssDelete Constructor
-
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 a recursive flagResponsedeleteZfs(String fileSystemName)Delete UNIX zFS Filesystem
-
-
-
Constructor Detail
-
UssDelete
public UssDelete(ZosConnection connection)
UssDelete Constructor- Parameters:
connection- for connection information, see ZosConnection object
-
-
Method Detail
-
delete
public Response delete(String targetPath) throws ZosmfRequestException
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
- Throws:
ZosmfRequestException- request error state
-
delete
public Response delete(String targetPath, boolean recursive) throws ZosmfRequestException
Perform UNIX delete file or directory name request with a recursive flag- Parameters:
targetPath- the name of the file or directory you are going to deleterecursive- the flag indicates if contents of the directory should also be deleted- Returns:
- Response object
- Throws:
ZosmfRequestException- request error state
-
deleteZfs
public Response deleteZfs(String fileSystemName) throws ZosmfRequestException
Delete UNIX zFS Filesystem- Parameters:
fileSystemName- file system name- Returns:
- Response object
- Throws:
ZosmfRequestException- request error state
-
-