Package zowe.client.sdk.zosmfinfo
Class ListDefinedSystems
- java.lang.Object
-
- zowe.client.sdk.zosmfinfo.ListDefinedSystems
-
public class ListDefinedSystems extends Object
This class is used to list the systems defined to z/OSMF through the z/OSMF APIs.- Version:
- 1.0
- Author:
- Frank Giordano
-
-
Constructor Summary
Constructors Constructor Description ListDefinedSystems(ZOSConnection connection)ListDefinedSystems Constructor.ListDefinedSystems(ZOSConnection connection, ZoweRequest request)Alternative ListDefinedSystems constructor with ZoweRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZosmfListDefinedSystemsResponselistDefinedSystems()List systems defined to z/OSMF
-
-
-
Constructor Detail
-
ListDefinedSystems
public ListDefinedSystems(ZOSConnection connection)
ListDefinedSystems Constructor.- Parameters:
connection- connection information, see ZOSConnection object
-
ListDefinedSystems
public ListDefinedSystems(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 type object- Throws:
Exception- processing error
-
-
Method Detail
-
listDefinedSystems
public ZosmfListDefinedSystemsResponse listDefinedSystems() throws Exception
List systems defined to z/OSMF- Returns:
- ZosmfListDefinedSystemsResponse object
- Throws:
Exception- problem with response
-
-