Class UssList
- java.lang.Object
-
- zowe.client.sdk.zosfiles.uss.methods.UssList
-
public class UssList extends Object
Provides Unix System Services (USS) list object functionality- Version:
- 2.0
- Author:
- Frank Giordano
-
-
Constructor Summary
Constructors Constructor Description UssList(ZosConnection connection)UssList ConstructorUssList(ZosConnection connection, ZosmfRequest request)Alternative UssList constructor with ZoweRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<UnixFile>getFiles(ListParams params)Perform list of UNIX files operationList<UnixZfs>getZfsSystems(ListZfsParams params)Perform list of UNIX filesystems operation
-
-
-
Constructor Detail
-
UssList
public UssList(ZosConnection connection)
UssList Constructor- Parameters:
connection- connection information, see ZosConnection object
-
UssList
public UssList(ZosConnection connection, ZosmfRequest request)
Alternative UssList 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
-
getFiles
public List<UnixFile> getFiles(ListParams params) throws ZosmfRequestException
Perform list of UNIX files operation- Parameters:
params- ListParams object- Returns:
- list of UssItem objects
- Throws:
ZosmfRequestException- request error state
-
getZfsSystems
public List<UnixZfs> getZfsSystems(ListZfsParams params) throws ZosmfRequestException
Perform list of UNIX filesystems operation- Parameters:
params- ListZfsParams parameter object- Returns:
- list of UssZfsItem objects
- Throws:
ZosmfRequestException- request error state
-
-