public class MessageResult
extends java.lang.Object
Constructor and Description |
---|
MessageResult() |
Modifier and Type | Method and Description |
---|---|
static MessageResult |
getFailTestResult(MessageResult result)
Reset or create a new MessageResult preset with STATUS_REMOTERESULT_FAIL.
|
int |
getStatuscode() |
java.lang.String |
getStatusinfo() |
static MessageResult |
getSuccessTestResult(MessageResult result)
Reset or create a new MessageResult preset with STATUS_REMOTERESULT_OK.
|
void |
resetTestResult()
Reset statuscode to STATUS_REMOTERESULT_UNKNOWN.
|
void |
setStatuscode(int statuscode) |
void |
setStatusinfo(java.lang.String statusinfo) |
public int getStatuscode()
public void setStatuscode(int statuscode)
public java.lang.String getStatusinfo()
public void setStatusinfo(java.lang.String statusinfo)
public static MessageResult getSuccessTestResult(MessageResult result)
result
- MessageResult to be preset to OK. If null a new MessageResult
will be created.Message.STATUS_REMOTERESULT_OK
public static MessageResult getFailTestResult(MessageResult result)
result
- MessageResult to be preset to FAIL. If null a new MessageResult
will be created.Message.STATUS_REMOTERESULT_FAIL
public void resetTestResult()
Message.STATUS_REMOTERESULT_UNKNOWN
Copyright © SAS Institute. All Rights Reserved.