Class ZosmfSystems
- java.lang.Object
-
- zowe.client.sdk.zosmfinfo.methods.ZosmfSystems
-
public class ZosmfSystems extends Object
This class is used to list the systems defined to z/OSMF through the z/OSMF APIs.- Version:
- 3.0
- Author:
- Frank Giordano
-
-
Constructor Summary
Constructors Constructor Description ZosmfSystems(ZosConnection connection)
ListDefinedSystems Constructor.ZosmfSystems(ZosConnection connection, ZosmfRequest request)
Alternative ListDefinedSystems constructor with ZoweRequest object.
-
-
-
Constructor Detail
-
ZosmfSystems
public ZosmfSystems(ZosConnection connection)
ListDefinedSystems Constructor.- Parameters:
connection
- connection information, see ZosConnection object
-
ZosmfSystems
public ZosmfSystems(ZosConnection connection, ZosmfRequest request)
Alternative ListDefinedSystems 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
-
get
public ZosmfSystemsResponse get() throws ZosmfRequestException
List systems defined to z/OSMF- Returns:
- ZosmfListDefinedSystemsResponse object
- Throws:
ZosmfRequestException
- request error state
-
-