- java.lang.Object
-
- zowe.client.sdk.zoslogs.model.ZosLogItem
-
public class ZosLogItem extends Object
Represents the details of one log item.- Version:
- 5.0
- Author:
- Frank Giordano
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCart()Retrieve cart value.StringgetColor()Retrieve color value.StringgetJobName()Retrieve jobName value.StringgetMessage()Retrieve message value.StringgetMessageId()Retrieve messageId value.StringgetReplyId()Retrieve replyId value.StringgetSubType()Retrieve subType value.StringgetSystem()Retrieve system value.StringgetTime()Retrieve time value.longgetTimeStamp()Retrieve timeStamp value.StringgetType()Retrieve type value.StringtoString()Return string value representing ZosLogItem object.
-
-
-
Constructor Detail
-
ZosLogItem
public ZosLogItem(String cart, String color, String jobName, String message, String messageId, String replyId, String system, String type, String subType, String time, Long timeStamp)
ZosLogItem constructor- Parameters:
cart- Eight-character command and response token (CART)color- The color of the messagejobName- The name of the job that generates the messagemessage- The content of the messagemessageId- The message IDreplyId- Reply ID, in decimalsystem- Original eight-character system nametype- Type variablesubType- Indicate whether the message is a DOM, WTOR, or HOLD messagetime- For example, "Thu Feb 03 03:00 GMT 2021"timeStamp- UNIX timestamp. For example, 1621920830109
-
-
Method Detail
-
getCart
public String getCart()
Retrieve cart value.- Returns:
- cart value
-
getColor
public String getColor()
Retrieve color value.- Returns:
- color value
-
getJobName
public String getJobName()
Retrieve jobName value.- Returns:
- jobName value
-
getMessage
public String getMessage()
Retrieve message value.- Returns:
- message value
-
getMessageId
public String getMessageId()
Retrieve messageId value.- Returns:
- messageId value
-
getReplyId
public String getReplyId()
Retrieve replyId value.- Returns:
- replyId value
-
getSystem
public String getSystem()
Retrieve system value.- Returns:
- system value
-
getType
public String getType()
Retrieve type value.- Returns:
- type value
-
getSubType
public String getSubType()
Retrieve subType value.- Returns:
- subType value
-
getTime
public String getTime()
Retrieve time value.- Returns:
- time value
-
getTimeStamp
public long getTimeStamp()
Retrieve timeStamp value.- Returns:
- timeStamp value (0L if absent in JSON)
-
-