Module ibm.jzos
Package com.ibm.jzos

Class MvsConsoleResult


  • public class MvsConsoleResult
    extends java.lang.Object
    A object containing results from the MvsConsole native calls to the C library __console2() API.
    • Constructor Summary

      Constructors 
      Constructor Description
      MvsConsoleResult​(int msgId, int cmd, java.lang.String modifyText)
      Construct an instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getModifyText()
      Answer the text received on the MVS modify command
      int getMsgId()
      Answer the message id assigned by __console2()
      boolean isModifyCmd()
      Answer true if the command received is a MVS modify command
      boolean isStopCmd()
      Answer true if the command received is a MVS stop command
      • Methods inherited from class java.lang.Object

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

      • MvsConsoleResult

        public MvsConsoleResult​(int msgId,
                                int cmd,
                                java.lang.String modifyText)
        Construct an instance
        Parameters:
        msgId - the message id
        cmd - the command type, see CMD_* constants
        modifyText - for a modify command, the string received
    • Method Detail

      • getMsgId

        public int getMsgId()
        Answer the message id assigned by __console2()
      • isModifyCmd

        public boolean isModifyCmd()
        Answer true if the command received is a MVS modify command
      • isStopCmd

        public boolean isStopCmd()
        Answer true if the command received is a MVS stop command
      • getModifyText

        public java.lang.String getModifyText()
        Answer the text received on the MVS modify command