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:
- 2.0
- Author:
- Frank Giordano
-
-
Constructor Summary
Constructors Constructor Description ZosmfSystems(ZosConnection connection)ListDefinedSystems Constructor.ZosmfSystems(ZosConnection connection, ZoweRequest 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, ZoweRequest request) throws Exception
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- Throws:
Exception- processing error
-
-
Method Detail
-
get
public ZosmfSystemsResponse get() throws Exception
List systems defined to z/OSMF- Returns:
- ZosmfListDefinedSystemsResponse object
- Throws:
Exception- problem with response
-
-