Package zowe.client.sdk.zoslogs
Class GetZosLog
- java.lang.Object
-
- zowe.client.sdk.zoslogs.GetZosLog
-
public class GetZosLog extends Object
Get zos log via z/OSMF restful api- Version:
- 1.0
- Author:
- Frank Giordano
-
-
Constructor Summary
Constructors Constructor Description GetZosLog(ZOSConnection connection)GetZosLog constructorGetZosLog(ZOSConnection connection, ZoweRequest request)Alternative GetZosLog constructor with ZoweRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZosLogReplygetZosLog(ZosLogParams params)Issue a z/OSMF syslog command, returns "raw" z/OSMF response.
-
-
-
Constructor Detail
-
GetZosLog
public GetZosLog(ZOSConnection connection)
GetZosLog constructor- Parameters:
connection- connection information, see ZOSConnection object
-
GetZosLog
public GetZosLog(ZOSConnection connection, ZoweRequest request) throws Exception
Alternative GetZosLog 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
-
getZosLog
public ZosLogReply getZosLog(ZosLogParams params) throws Exception
Issue a z/OSMF syslog command, returns "raw" z/OSMF response.- Parameters:
params- ZosLogParams object- Returns:
- ZosLogReply object with log messages/items
- Throws:
Exception- processing error
-
-