public class LiteflowResponse extends Object
| 构造器和说明 |
|---|
LiteflowResponse() |
| 限定符和类型 | 方法和说明 |
|---|---|
Exception |
getCause() |
String |
getChainId() |
String |
getCode() |
<T> T |
getContextBean(Class<T> contextBeanClazz) |
<T> T |
getContextBean(String contextName) |
Queue<CmpStep> |
getExecuteStepQueue() |
Map<String,List<CmpStep>> |
getExecuteSteps() |
String |
getExecuteStepStr() |
String |
getExecuteStepStrWithoutTime() |
String |
getExecuteStepStrWithTime() |
<T> T |
getFirstContextBean() |
String |
getMessage() |
String |
getRequestId() |
Queue<CmpStep> |
getRollbackStepQueue() |
Map<String,List<CmpStep>> |
getRollbackSteps() |
String |
getRollbackStepStr() |
String |
getRollbackStepStrWithoutTime() |
String |
getRollbackStepStrWithTime() |
Slot |
getSlot() |
boolean |
isSuccess() |
static LiteflowResponse |
newInnerResponse(String chainId,
Slot slot) |
static LiteflowResponse |
newMainResponse(Slot slot) |
void |
setCause(Exception cause) |
void |
setChainId(String chainId) |
void |
setCode(String code) |
void |
setMessage(String message) |
void |
setSlot(Slot slot) |
void |
setSuccess(boolean success) |
public static LiteflowResponse newMainResponse(Slot slot)
public static LiteflowResponse newInnerResponse(String chainId, Slot slot)
public boolean isSuccess()
public void setSuccess(boolean success)
public String getMessage()
public void setMessage(String message)
public String getCode()
public void setCode(String code)
public Exception getCause()
public void setCause(Exception cause)
public Slot getSlot()
public void setSlot(Slot slot)
public <T> T getFirstContextBean()
public <T> T getContextBean(Class<T> contextBeanClazz)
public <T> T getContextBean(String contextName)
public String getRollbackStepStr()
public String getRollbackStepStrWithTime()
public String getRollbackStepStrWithoutTime()
public String getExecuteStepStr()
public String getExecuteStepStrWithTime()
public String getExecuteStepStrWithoutTime()
public String getRequestId()
public String getChainId()
public void setChainId(String chainId)
Copyright © 2024. All rights reserved.