public class StateInstanceImpl extends Object implements StateInstance
| Constructor and Description |
|---|
StateInstanceImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBusinessKey()
get businessKey
|
StateInstance |
getCompensationState()
Gets get compensation state.
|
ExecutionStatus |
getCompensationStatus()
Gets get compensation status.
|
Exception |
getException()
get exception
|
Date |
getGmtEnd()
get end time
|
Date |
getGmtStarted()
get start time
|
Date |
getGmtUpdated()
get update time
|
String |
getId()
id
|
Object |
getInputParams()
get input params
|
String |
getMachineInstanceId()
get Machine InstanceId
|
String |
getName()
get name
|
Object |
getOutputParams()
get output params
|
Object |
getSerializedException()
Gets get serialized exception.
|
Object |
getSerializedInputParams()
Gets get serialized input params.
|
Object |
getSerializedOutputParams()
Gets get serialized output params.
|
String |
getServiceMethod()
get service method
|
String |
getServiceName()
get service name
|
String |
getServiceType()
get service type
|
String |
getStateIdCompensatedFor()
Gets get state id compensated for.
|
String |
getStateIdRetriedFor()
Gets get state id retried for.
|
StateMachineInstance |
getStateMachineInstance()
Gets get state machine instance.
|
ExecutionStatus |
getStatus()
Gets get status.
|
String |
getType()
get type
|
boolean |
isForCompensation()
Is for compensation boolean.
|
boolean |
isForUpdate()
Is this state task will update data?
|
boolean |
isIgnoreStatus()
Is ignore status boolean.
|
void |
setBusinessKey(String businessKey)
set business key
|
void |
setCompensationState(StateInstance compensationState)
Sets set compensation state.
|
void |
setException(Exception exception)
set exception
|
void |
setForUpdate(boolean forUpdate)
setForUpdate
|
void |
setGmtEnd(Date gmtEnd)
set end time
|
void |
setGmtStarted(Date gmtStarted)
set start time
|
void |
setGmtUpdated(Date gmtUpdated)
set update time
|
void |
setId(String id)
set id
|
void |
setIgnoreStatus(boolean ignoreStatus)
Sets set ignore status.
|
void |
setInputParams(Object inputParams)
set inout params
|
void |
setMachineInstanceId(String machineInstanceId)
set Machine InstanceId
|
void |
setName(String name)
set name
|
void |
setOutputParams(Object outputParams)
Sets set output params.
|
void |
setSerializedException(Object serializedException)
Sets set serialized exception.
|
void |
setSerializedInputParams(Object serializedInputParams)
Sets set serialized input params.
|
void |
setSerializedOutputParams(Object serializedOutputParams)
Sets set serialized output params.
|
void |
setServiceMethod(String serviceMethod)
set service method
|
void |
setServiceName(String serviceName)
set service name
|
void |
setServiceType(String serviceType)
get service type
|
void |
setStateIdCompensatedFor(String stateIdCompensatedFor)
Sets set state id compensated for.
|
void |
setStateIdRetriedFor(String stateIdRetriedFor)
Sets set state id retried for.
|
void |
setStateMachineInstance(StateMachineInstance stateMachineInstance)
Sets set state machine instance.
|
void |
setStatus(ExecutionStatus status)
Sets set status.
|
void |
setType(String type)
set type
|
public String getId()
StateInstancegetId in interface StateInstancepublic void setId(String id)
StateInstancesetId in interface StateInstanceid - the idpublic String getMachineInstanceId()
StateInstancegetMachineInstanceId in interface StateInstancepublic void setMachineInstanceId(String machineInstanceId)
StateInstancesetMachineInstanceId in interface StateInstancemachineInstanceId - Machine InstanceIdpublic String getName()
StateInstancegetName in interface StateInstancepublic void setName(String name)
StateInstancesetName in interface StateInstancename - state instance namepublic String getType()
StateInstancegetType in interface StateInstancepublic void setType(String type)
StateInstancesetType in interface StateInstancetype - state instance typepublic String getServiceName()
StateInstancegetServiceName in interface StateInstancepublic void setServiceName(String serviceName)
StateInstancesetServiceName in interface StateInstanceserviceName - the state instance service namepublic String getServiceMethod()
StateInstancegetServiceMethod in interface StateInstancepublic void setServiceMethod(String serviceMethod)
StateInstancesetServiceMethod in interface StateInstanceserviceMethod - the state instance service methodpublic String getServiceType()
StateInstancegetServiceType in interface StateInstancepublic void setServiceType(String serviceType)
StateInstancesetServiceType in interface StateInstanceserviceType - the state instance service typepublic String getBusinessKey()
StateInstancegetBusinessKey in interface StateInstancepublic void setBusinessKey(String businessKey)
StateInstancesetBusinessKey in interface StateInstancebusinessKey - the state instance businessKeypublic Date getGmtStarted()
StateInstancegetGmtStarted in interface StateInstancepublic void setGmtStarted(Date gmtStarted)
StateInstancesetGmtStarted in interface StateInstancegmtStarted - the state instance start timepublic Date getGmtUpdated()
StateInstancegetGmtUpdated in interface StateInstancepublic void setGmtUpdated(Date gmtUpdated)
StateInstancesetGmtUpdated in interface StateInstancegmtUpdated - the state instance update timepublic Date getGmtEnd()
StateInstancegetGmtEnd in interface StateInstancepublic void setGmtEnd(Date gmtEnd)
StateInstancesetGmtEnd in interface StateInstancegmtEnd - the state instance end timepublic boolean isForUpdate()
StateInstanceisForUpdate in interface StateInstancepublic void setForUpdate(boolean forUpdate)
StateInstancesetForUpdate in interface StateInstanceforUpdate - is for updatepublic String getStateIdCompensatedFor()
StateInstancegetStateIdCompensatedFor in interface StateInstancepublic void setStateIdCompensatedFor(String stateIdCompensatedFor)
StateInstancesetStateIdCompensatedFor in interface StateInstancestateIdCompensatedFor - the state id compensated forpublic String getStateIdRetriedFor()
StateInstancegetStateIdRetriedFor in interface StateInstancepublic void setStateIdRetriedFor(String stateIdRetriedFor)
StateInstancesetStateIdRetriedFor in interface StateInstancestateIdRetriedFor - the state id retried forpublic Exception getException()
StateInstancegetException in interface StateInstancepublic void setException(Exception exception)
StateInstancesetException in interface StateInstanceexception - exceptionpublic Object getInputParams()
StateInstancegetInputParams in interface StateInstancepublic void setInputParams(Object inputParams)
StateInstancesetInputParams in interface StateInstanceinputParams - inputParamspublic Object getOutputParams()
StateInstancegetOutputParams in interface StateInstancepublic void setOutputParams(Object outputParams)
StateInstancesetOutputParams in interface StateInstanceoutputParams - the output paramspublic ExecutionStatus getStatus()
StateInstancegetStatus in interface StateInstancepublic void setStatus(ExecutionStatus status)
StateInstancesetStatus in interface StateInstancestatus - the statuspublic StateInstance getCompensationState()
StateInstancegetCompensationState in interface StateInstancepublic void setCompensationState(StateInstance compensationState)
StateInstancesetCompensationState in interface StateInstancecompensationState - the compensation statepublic StateMachineInstance getStateMachineInstance()
StateInstancegetStateMachineInstance in interface StateInstancepublic void setStateMachineInstance(StateMachineInstance stateMachineInstance)
StateInstancesetStateMachineInstance in interface StateInstancestateMachineInstance - the state machine instancepublic boolean isIgnoreStatus()
StateInstanceisIgnoreStatus in interface StateInstancepublic void setIgnoreStatus(boolean ignoreStatus)
StateInstancesetIgnoreStatus in interface StateInstanceignoreStatus - the ignore statuspublic boolean isForCompensation()
StateInstanceisForCompensation in interface StateInstancepublic Object getSerializedInputParams()
StateInstancegetSerializedInputParams in interface StateInstancepublic void setSerializedInputParams(Object serializedInputParams)
StateInstancesetSerializedInputParams in interface StateInstanceserializedInputParams - the serialized input paramspublic Object getSerializedOutputParams()
StateInstancegetSerializedOutputParams in interface StateInstancepublic void setSerializedOutputParams(Object serializedOutputParams)
StateInstancesetSerializedOutputParams in interface StateInstanceserializedOutputParams - the serialized output paramspublic Object getSerializedException()
StateInstancegetSerializedException in interface StateInstancepublic void setSerializedException(Object serializedException)
StateInstancesetSerializedException in interface StateInstanceserializedException - the serialized exceptionpublic ExecutionStatus getCompensationStatus()
StateInstancegetCompensationStatus in interface StateInstanceCopyright © 2023 Seata. All rights reserved.