public class Result extends Object
{"outcome" : "success", "result" : "no metrics available", "compensating-operation" : null}
{"outcome" : "failed", "failure-description" : "JBAS010850: No handler for operation foo at address []", "rolled-back" : true}
| Constructor and Description |
|---|
Result() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFailureDescription() |
String |
getOutcome() |
Object |
getResponseHeaders() |
Object |
getResult() |
Throwable |
getRhqThrowable() |
Map<String,Object> |
getThrowable() |
boolean |
isReloadRequired() |
boolean |
isRestartRequired() |
boolean |
isRolledBack() |
boolean |
isSuccess() |
void |
setFailureDescription(Object failureDescription) |
void |
setOutcome(String outcome) |
void |
setResponseHeaders(Object responseHeaders) |
void |
setResult(Object result) |
void |
setRhqThrowable(Throwable rhqThrowable) |
void |
setRolledBack(boolean rolledBack) |
void |
setThrowable(Map<String,Object> throwable) |
String |
toString() |
public static final String SUCCESS
public Object getResponseHeaders()
public void setResponseHeaders(Object responseHeaders)
public String getOutcome()
public void setOutcome(String outcome)
public boolean isReloadRequired()
public boolean isRestartRequired()
public boolean isSuccess()
public Object getResult()
public void setResult(Object result)
public String getFailureDescription()
public void setFailureDescription(Object failureDescription)
public boolean isRolledBack()
public void setRolledBack(boolean rolledBack)
public Throwable getRhqThrowable()
public void setRhqThrowable(Throwable rhqThrowable)
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.