com.ibm.jzos
Class MvsConsoleResult
- java.lang.Object
-
- com.ibm.jzos.MvsConsoleResult
-
public class MvsConsoleResult extends java.lang.ObjectA object containing results from theMvsConsolenative calls to the C library __console2() API.
-
-
Constructor Summary
Constructors Constructor and 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 and Description java.lang.StringgetModifyText()Answer the text received on the MVS modify commandintgetMsgId()Answer the message id assigned by __console2()booleanisModifyCmd()Answer true if the command received is a MVS modify commandbooleanisStopCmd()Answer true if the command received is a MVS stop command
-
-
-
Constructor Detail
-
MvsConsoleResult
public MvsConsoleResult(int msgId, int cmd, java.lang.String modifyText)Construct an instance- Parameters:
msgId- the message idcmd- the command type, see CMD_* constantsmodifyText- 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
-
-