public final class RobotMessageResponse extends RobotResponse
RobotMessageResponse
is a RobotResponse
that contains a robot
generated non-error status message.
If no MessageEnvironment
has been provided to an ExecuteRequest
, then
the server will respond with one RobotMessageResponse
for each non-error status
message generated by the robot.
The RobotMessageResponse
has a message property whose value is a readable
description of the message.
MessageEnvironment
,
ExecuteRequest
,
Serialized FormConstructor and Description |
---|
RobotMessageResponse(java.util.Date date,
java.lang.String robotFileURL,
java.lang.String executionId,
int robotRunId,
int robotId,
java.lang.String message)
Creates a
RobotMessageResponse with the specified property values. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Returns
true if this object and the specified object have the same property values, and
false otherwise. |
java.lang.String |
getMessage()
Returns the message.
|
int |
hashCode()
Returns the hash code of this object based on property values.
|
java.lang.String |
toString()
Returns a human readable string representation of this object.
|
getExecutionId, getRobotId, getRobotRunId, getRobotURL
getDate
public RobotMessageResponse(java.util.Date date, java.lang.String robotFileURL, java.lang.String executionId, int robotRunId, int robotId, java.lang.String message)
RobotMessageResponse
with the specified property values.
This constrictor is subject to change if the RQL protocol is extendeddate
- the date at which the response was created by the server.robotFileURL
- the robot file URL.executionId
- the execution id.robotRunId
- the robot run id.robotId
- the robot id.message
- the message.public java.lang.String getMessage()
public boolean equals(java.lang.Object obj)
true
if this object and the specified object have the same property values, and
false
otherwise.equals
in class RobotResponse
obj
- the object to test for equality.true
if this object and the specified object have the same property values, and
false
otherwise.public int hashCode()
hashCode
in class RobotResponse
public java.lang.String toString()
toString
in class RobotResponse
RoboSuite Java API, v11.4.7880