public interface StateInstance
| 限定符和类型 | 方法和说明 |
|---|---|
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
|
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 |
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
|
String getId()
void setId(String id)
id - String getMachineInstanceId()
void setMachineInstanceId(String machineInstanceId)
machineInstanceId - String getName()
void setName(String name)
name - String getType()
void setType(String type)
type - String getServiceName()
void setServiceName(String serviceName)
serviceName - String getServiceMethod()
void setServiceMethod(String serviceMethod)
serviceMethod - String getServiceType()
void setServiceType(String serviceType)
serviceType - String getBusinessKey()
void setBusinessKey(String businessKey)
businessKey - Date getGmtStarted()
void setGmtStarted(Date gmtStarted)
gmtStarted - Date getGmtEnd()
void setGmtEnd(Date gmtEnd)
gmtEnd - boolean isForUpdate()
void setForUpdate(boolean forUpdate)
forUpdate - Exception getException()
void setException(Exception exception)
exception - Object getInputParams()
void setInputParams(Object inputParams)
inputParams - Object getOutputParams()
void setOutputParams(Object outputParams)
outputParams - the output paramsExecutionStatus getStatus()
void setStatus(ExecutionStatus status)
status - the statusString getStateIdCompensatedFor()
void setStateIdCompensatedFor(String stateIdCompensatedFor)
stateIdCompensatedFor - the state id compensated forString getStateIdRetriedFor()
void setStateIdRetriedFor(String stateIdRetriedFor)
stateIdRetriedFor - the state id retried forStateInstance getCompensationState()
void setCompensationState(StateInstance compensationState)
compensationState - the compensation stateStateMachineInstance getStateMachineInstance()
void setStateMachineInstance(StateMachineInstance stateMachineInstance)
stateMachineInstance - the state machine instanceboolean isIgnoreStatus()
void setIgnoreStatus(boolean ignoreStatus)
ignoreStatus - the ignore statusboolean isForCompensation()
Object getSerializedInputParams()
void setSerializedInputParams(Object serializedInputParams)
serializedInputParams - the serialized input paramsObject getSerializedOutputParams()
void setSerializedOutputParams(Object serializedOutputParams)
serializedOutputParams - the serialized output paramsObject getSerializedException()
void setSerializedException(Object serializedException)
serializedException - the serialized exceptionExecutionStatus getCompensationStatus()
Copyright © 2020 Seata. All rights reserved.