public interface StateMachineInstance
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getBusinessKey()
Gets get business key.
|
ExecutionStatus |
getCompensationStatus()
Gets get compensation status.
|
Map<String,Object> |
getContext()
Gets get context.
|
Map<String,Object> |
getEndParams()
Gets get end params.
|
Exception |
getException()
Gets get exception.
|
Date |
getGmtEnd()
Gets get gmt end.
|
Date |
getGmtStarted()
Gets get gmt started.
|
Date |
getGmtUpdated()
Gets get gmt updated.
|
String |
getId()
Gets get id.
|
String |
getMachineId()
Gets get machine id.
|
String |
getParentId()
Gets get parent id.
|
Object |
getSerializedEndParams()
Gets get serialized end params.
|
Object |
getSerializedException()
Gets get serialized exception.
|
Object |
getSerializedStartParams()
Gets get serialized start params.
|
Map<String,Object> |
getStartParams()
Gets get start params.
|
List<StateInstance> |
getStateList()
Gets get state list.
|
StateMachine |
getStateMachine()
Gets get state machine.
|
Map<String,StateInstance> |
getStateMap()
Gets get state map.
|
ExecutionStatus |
getStatus()
Gets get status.
|
String |
getTenantId()
Gets get tenant id.
|
boolean |
isRunning()
Is running boolean.
|
void |
putStateInstance(String stateId,
StateInstance stateInstance)
Put state instance.
|
void |
setBusinessKey(String businessKey)
Sets set business key.
|
void |
setCompensationStatus(ExecutionStatus compensationStatus)
Sets set compensation status.
|
void |
setContext(Map<String,Object> context)
Sets set context.
|
void |
setEndParams(Map<String,Object> endParams)
Sets set end params.
|
void |
setException(Exception exception)
Sets set exception.
|
void |
setGmtEnd(Date gmtEnd)
Sets set gmt end.
|
void |
setGmtStarted(Date gmtStarted)
Sets set gmt started.
|
void |
setGmtUpdated(Date gmtUpdated)
Sets set gmt updated.
|
void |
setId(String id)
Sets set id.
|
void |
setMachineId(String machineId)
Sets set machine id.
|
void |
setParentId(String parentId)
Sets set parent id.
|
void |
setRunning(boolean running)
Sets set running.
|
void |
setSerializedEndParams(Object serializedEndParams)
Sets set serialized end params.
|
void |
setSerializedException(Object serializedException)
Sets set serialized exception.
|
void |
setSerializedStartParams(Object serializedStartParams)
Sets set serialized start params.
|
void |
setStartParams(Map<String,Object> startParams)
Sets set start params.
|
void |
setStateList(List<StateInstance> stateList)
Sets set state list.
|
void |
setStateMachine(StateMachine stateMachine)
Sets set state machine.
|
void |
setStateMap(Map<String,StateInstance> stateMap)
Sets set state map.
|
void |
setStatus(ExecutionStatus status)
Sets set status.
|
void |
setTenantId(String tenantId)
Sets set tenant id.
|
String getId()
void setId(String id)
id - the idString getMachineId()
void setMachineId(String machineId)
machineId - the machine idString getTenantId()
void setTenantId(String tenantId)
tenantId - the tenant idString getParentId()
void setParentId(String parentId)
parentId - the parent idDate getGmtStarted()
void setGmtStarted(Date gmtStarted)
gmtStarted - the gmt startedDate getGmtEnd()
void setGmtEnd(Date gmtEnd)
gmtEnd - the gmt endvoid putStateInstance(String stateId, StateInstance stateInstance)
stateId - the state idstateInstance - the state instanceExecutionStatus getStatus()
void setStatus(ExecutionStatus status)
status - the statusExecutionStatus getCompensationStatus()
void setCompensationStatus(ExecutionStatus compensationStatus)
compensationStatus - the compensation statusboolean isRunning()
void setRunning(boolean running)
running - the runningDate getGmtUpdated()
void setGmtUpdated(Date gmtUpdated)
gmtUpdated - the gmt updatedString getBusinessKey()
void setBusinessKey(String businessKey)
businessKey - the business keyException getException()
void setException(Exception exception)
exception - the exceptionvoid setStartParams(Map<String,Object> startParams)
startParams - the start paramsvoid setEndParams(Map<String,Object> endParams)
endParams - the end paramsStateMachine getStateMachine()
void setStateMachine(StateMachine stateMachine)
stateMachine - the state machineList<StateInstance> getStateList()
void setStateList(List<StateInstance> stateList)
stateList - the state listMap<String,StateInstance> getStateMap()
void setStateMap(Map<String,StateInstance> stateMap)
stateMap - the state mapObject getSerializedStartParams()
void setSerializedStartParams(Object serializedStartParams)
serializedStartParams - the serialized start paramsObject getSerializedEndParams()
void setSerializedEndParams(Object serializedEndParams)
serializedEndParams - the serialized end paramsObject getSerializedException()
void setSerializedException(Object serializedException)
serializedException - the serialized exceptionCopyright © 2019 Seata. All rights reserved.