public final class StopRequest extends RQLRequest
StopRequest is an RQLRequest that requests a robot to stop
executing on a server.
The StopRequest has an executionId property whose value refers to the robot
execution to stop by an execution id returned previously in a
ServerExecutionEventResponse.
ServerExecutionEventResponse,
Serialized FormAUTHENTICATION_ENABLED_PREFIX, TRIAL_VERSION_LIMITATION_PREFIX| Constructor and Description |
|---|
StopRequest(java.lang.String executionId)
Creates a
StopRequest with the specified execution id. |
StopRequest(java.lang.String hostName,
java.lang.String ipAddress,
java.lang.String executionId,
java.lang.String username,
java.lang.String password)
Package private constructor for initializing ipAddress and
hostName properties with credentials.
|
| 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 |
getExecutionId()
Returns the execution id.
|
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.
|
getHostName, getIPAddress, getPassword, getUsernamepublic StopRequest(java.lang.String executionId)
StopRequest with the specified execution id.executionId - the execution id.public StopRequest(java.lang.String hostName,
java.lang.String ipAddress,
java.lang.String executionId,
java.lang.String username,
java.lang.String password)
It is used to re-create an RQL Request from an XML stream. 10. may 2010 (KG) Has been made public to allow stop to use credentials
hostName - hostname of destination, may be nullipAddress - ip address iof destination, may be nullexecutionId - the execution id of the robot to stopusername - username used for authenticating this requestpassword - password used for authenticating this requestpublic java.lang.String getExecutionId()
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 RQLRequestobj - 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 RQLRequestpublic java.lang.String toString()
toString in class RQLRequestRoboSuite Java API, v11.2.8