public class RestActionReport extends Object implements ActionReport
ActionReport.ExitCode
Modifier and Type | Field and Description |
---|---|
(package private) String |
actionDescription
Description of command which is the report related to.
|
(package private) ActionReport.ExitCode |
exitCode
Exit code returned by server.
|
(package private) List<? extends ActionReport> |
subActions
Nested reports.
|
(package private) MessagePart |
topMessagePart
Top part of the message, can be the only one.
|
Constructor and Description |
---|
RestActionReport() |
Modifier and Type | Method and Description |
---|---|
String |
getCommand()
Getter for command name (description).
|
ActionReport.ExitCode |
getExitCode()
Get command execution exit code.
|
String |
getMessage()
Getter for message included in server response.
|
List<? extends ActionReport> |
getSubActionsReport() |
MessagePart |
getTopMessagePart() |
boolean |
isSuccess() |
(package private) void |
setActionDescription(String actionDescription) |
(package private) void |
setExitCode(ActionReport.ExitCode exitCode) |
(package private) void |
setMessage(String message) |
MessagePart topMessagePart
List<? extends ActionReport> subActions
ActionReport.ExitCode exitCode
String actionDescription
public List<? extends ActionReport> getSubActionsReport()
public ActionReport.ExitCode getExitCode()
ActionReport
getExitCode
in interface ActionReport
public String getMessage()
ActionReport
getMessage
in interface ActionReport
public String getCommand()
ActionReport
getCommand
in interface ActionReport
void setActionDescription(String actionDescription)
void setExitCode(ActionReport.ExitCode exitCode)
void setMessage(String message)
public boolean isSuccess()
public MessagePart getTopMessagePart()
Copyright © 2013. All Rights Reserved.