public class SendCommandResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private Command |
command
The request as it was received by SSM.
|
Constructor and Description |
---|
SendCommandResult() |
Modifier and Type | Method and Description |
---|---|
SendCommandResult |
clone() |
boolean |
equals(java.lang.Object obj) |
Command |
getCommand()
The request as it was received by SSM.
|
int |
hashCode() |
void |
setCommand(Command command)
The request as it was received by SSM.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SendCommandResult |
withCommand(Command command)
The request as it was received by SSM.
|
private Command command
The request as it was received by SSM. Also provides the command ID which can be used future references to this request.
public void setCommand(Command command)
The request as it was received by SSM. Also provides the command ID which can be used future references to this request.
command
- The request as it was received by SSM. Also provides the command
ID which can be used future references to this request.public Command getCommand()
The request as it was received by SSM. Also provides the command ID which can be used future references to this request.
public SendCommandResult withCommand(Command command)
The request as it was received by SSM. Also provides the command ID which can be used future references to this request.
command
- The request as it was received by SSM. Also provides the command
ID which can be used future references to this request.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public SendCommandResult clone()
clone
in class java.lang.Object