com.ibm.jtopenlite.components

Class ListJobLogMessages

  • java.lang.Object
    • com.ibm.jtopenlite.components.ListJobLogMessages


  • public class ListJobLogMessages
    extends java.lang.Object
    Represents the information returned by the DSPJOBLOG command, but uses the OpenListOfJobLogMessages classes to obtain it.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      MessageInfo[] getMessages(CommandConnection conn, JobInfo job)
      Returns an array of messages, sorted by time, the way DSPJOBLOG does.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ListJobLogMessages

        public ListJobLogMessages()
    • Method Detail

      • getMessages

        public MessageInfo[] getMessages(CommandConnection conn,
                                JobInfo job)
                                  throws java.io.IOException
        Returns an array of messages, sorted by time, the way DSPJOBLOG does. MessageInfo.toString() prints the message ID and text; MessageInfo.toString2() prints the message details the way F1 on a message does.
        Parameters:
        conn - The connection to use.
        job - The job from which to retrieve log messages.
        Throws:
        java.io.IOException