public class StateMachineInstanceImpl extends Object implements StateMachineInstance
| Constructor and Description |
|---|
StateMachineInstanceImpl() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public String getId()
StateMachineInstancegetId in interface StateMachineInstancepublic void setId(String id)
StateMachineInstancesetId in interface StateMachineInstanceid - the idpublic String getMachineId()
StateMachineInstancegetMachineId in interface StateMachineInstancepublic void setMachineId(String machineId)
StateMachineInstancesetMachineId in interface StateMachineInstancemachineId - the machine idpublic String getTenantId()
StateMachineInstancegetTenantId in interface StateMachineInstancepublic void setTenantId(String tenantId)
StateMachineInstancesetTenantId in interface StateMachineInstancetenantId - the tenant idpublic String getParentId()
StateMachineInstancegetParentId in interface StateMachineInstancepublic void setParentId(String parentId)
StateMachineInstancesetParentId in interface StateMachineInstanceparentId - the parent idpublic Date getGmtStarted()
StateMachineInstancegetGmtStarted in interface StateMachineInstancepublic void setGmtStarted(Date gmtStarted)
StateMachineInstancesetGmtStarted in interface StateMachineInstancegmtStarted - the gmt startedpublic Date getGmtEnd()
StateMachineInstancegetGmtEnd in interface StateMachineInstancepublic void setGmtEnd(Date gmtEnd)
StateMachineInstancesetGmtEnd in interface StateMachineInstancegmtEnd - the gmt endpublic void putStateInstance(String stateId, StateInstance stateInstance)
StateMachineInstanceputStateInstance in interface StateMachineInstancestateId - the state idstateInstance - the state instancepublic ExecutionStatus getStatus()
StateMachineInstancegetStatus in interface StateMachineInstancepublic void setStatus(ExecutionStatus status)
StateMachineInstancesetStatus in interface StateMachineInstancestatus - the statuspublic ExecutionStatus getCompensationStatus()
StateMachineInstancegetCompensationStatus in interface StateMachineInstancepublic void setCompensationStatus(ExecutionStatus compensationStatus)
StateMachineInstancesetCompensationStatus in interface StateMachineInstancecompensationStatus - the compensation statuspublic boolean isRunning()
StateMachineInstanceisRunning in interface StateMachineInstancepublic void setRunning(boolean running)
StateMachineInstancesetRunning in interface StateMachineInstancerunning - the runningpublic Date getGmtUpdated()
StateMachineInstancegetGmtUpdated in interface StateMachineInstancepublic void setGmtUpdated(Date gmtUpdated)
StateMachineInstancesetGmtUpdated in interface StateMachineInstancegmtUpdated - the gmt updatedpublic String getBusinessKey()
StateMachineInstancegetBusinessKey in interface StateMachineInstancepublic void setBusinessKey(String businessKey)
StateMachineInstancesetBusinessKey in interface StateMachineInstancebusinessKey - the business keypublic Exception getException()
StateMachineInstancegetException in interface StateMachineInstancepublic void setException(Exception exception)
StateMachineInstancesetException in interface StateMachineInstanceexception - the exceptionpublic Map<String,Object> getStartParams()
StateMachineInstancegetStartParams in interface StateMachineInstancepublic void setStartParams(Map<String,Object> startParams)
StateMachineInstancesetStartParams in interface StateMachineInstancestartParams - the start paramspublic Map<String,Object> getEndParams()
StateMachineInstancegetEndParams in interface StateMachineInstancepublic void setEndParams(Map<String,Object> endParams)
StateMachineInstancesetEndParams in interface StateMachineInstanceendParams - the end paramspublic Map<String,Object> getContext()
StateMachineInstancegetContext in interface StateMachineInstancepublic void setContext(Map<String,Object> context)
StateMachineInstancesetContext in interface StateMachineInstancecontext - the key and value contextpublic StateMachine getStateMachine()
StateMachineInstancegetStateMachine in interface StateMachineInstancepublic void setStateMachine(StateMachine stateMachine)
StateMachineInstancesetStateMachine in interface StateMachineInstancestateMachine - the state machinepublic List<StateInstance> getStateList()
StateMachineInstancegetStateList in interface StateMachineInstancepublic void setStateList(List<StateInstance> stateList)
StateMachineInstancesetStateList in interface StateMachineInstancestateList - the state listpublic Map<String,StateInstance> getStateMap()
StateMachineInstancegetStateMap in interface StateMachineInstancepublic void setStateMap(Map<String,StateInstance> stateMap)
StateMachineInstancesetStateMap in interface StateMachineInstancestateMap - the state mappublic Object getSerializedStartParams()
StateMachineInstancegetSerializedStartParams in interface StateMachineInstancepublic void setSerializedStartParams(Object serializedStartParams)
StateMachineInstancesetSerializedStartParams in interface StateMachineInstanceserializedStartParams - the serialized start paramspublic Object getSerializedEndParams()
StateMachineInstancegetSerializedEndParams in interface StateMachineInstancepublic void setSerializedEndParams(Object serializedEndParams)
StateMachineInstancesetSerializedEndParams in interface StateMachineInstanceserializedEndParams - the serialized end paramspublic Object getSerializedException()
StateMachineInstancegetSerializedException in interface StateMachineInstancepublic void setSerializedException(Object serializedException)
StateMachineInstancesetSerializedException in interface StateMachineInstanceserializedException - the serialized exceptionCopyright © 2023 Seata. All rights reserved.