Class ZosLogItem


  • public class ZosLogItem
    extends Object
    Represents the details of one log item.
    Version:
    5.0
    Author:
    Frank Giordano
    • 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 message
        jobName - The name of the job that generates the message
        message - The content of the message
        messageId - The message ID
        replyId - Reply ID, in decimal
        system - Original eight-character system name
        type - Type variable
        subType - Indicate whether the message is a DOM, WTOR, or HOLD message
        time - 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)
      • toString

        public String toString()
        Return string value representing ZosLogItem object.
        Overrides:
        toString in class Object
        Returns:
        string representation of ZosLogItem