public class CommandResponse extends java.lang.Object implements ICommandResponse
Constructor and Description |
---|
CommandResponse() |
CommandResponse(CommandResult result,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
static CommandResponse |
copy(ICommandResponse input)
Copy an SPI object to one that can marshaled.
|
java.lang.String |
getMessage()
Get a detail message for the result.
|
CommandResult |
getResult()
Get the command result.
|
void |
setMessage(java.lang.String message) |
void |
setResult(CommandResult result) |
public CommandResponse()
public CommandResponse(CommandResult result, java.lang.String message)
public CommandResult getResult()
ICommandResponse
getResult
in interface ICommandResponse
public void setResult(CommandResult result)
public java.lang.String getMessage()
ICommandResponse
getMessage
in interface ICommandResponse
public void setMessage(java.lang.String message)
public static CommandResponse copy(ICommandResponse input)
input
-