public class ServiceTaskStateImpl extends AbstractTaskState implements ServiceTaskState
AbstractTaskState.ExceptionMatchImpl, AbstractTaskState.LoopImpl, AbstractTaskState.RetryImplTaskState.ExceptionMatch, TaskState.Loop, TaskState.Retry, TaskState.StatusMatch| Constructor and Description |
|---|
ServiceTaskStateImpl() |
| Modifier and Type | Method and Description |
|---|---|
Method |
getMethod() |
List<String> |
getParameterTypes()
parameter types
|
String |
getServiceMethod()
service method
|
String |
getServiceName()
service name
|
String |
getServiceType()
Service type: such as SpringBean, SOFA RPC, default is StringBean
|
Map<Object,String> |
getStatusEvaluators() |
boolean |
isAsync() |
void |
setAsync(boolean async) |
void |
setMethod(Method method) |
void |
setParameterTypes(List<String> parameterTypes) |
void |
setServiceMethod(String serviceMethod) |
void |
setServiceName(String serviceName) |
void |
setServiceType(String serviceType) |
void |
setStatusEvaluators(Map<Object,String> statusEvaluators) |
getCatches, getCompensateState, getInput, getInputExpressions, getLoop, getOutput, getOutputExpressions, getRetry, getStatus, isCompensatePersistModeUpdate, isForCompensation, isForUpdate, isPersist, isRetryPersistModeUpdate, setCatches, setCompensatePersistModeUpdate, setCompensateState, setForCompensation, setForUpdate, setInput, setInputExpressions, setLoop, setOutput, setOutputExpressions, setPersist, setRetry, setRetryPersistModeUpdate, setStatusgetComment, getExtensions, getName, getNext, getStateMachine, getType, setComment, setExtensions, setName, setNext, setStateMachine, setTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCompensatePersistModeUpdate, isPersist, isRetryPersistModeUpdategetCatches, getCompensateState, getLoop, getRetry, getStatus, isForCompensation, isForUpdategetComment, getExtensions, getName, getNext, getStateMachine, getTypepublic String getServiceType()
ServiceTaskStategetServiceType in interface ServiceTaskStatepublic void setServiceType(String serviceType)
public String getServiceName()
ServiceTaskStategetServiceName in interface ServiceTaskStatepublic void setServiceName(String serviceName)
public String getServiceMethod()
ServiceTaskStategetServiceMethod in interface ServiceTaskStatepublic void setServiceMethod(String serviceMethod)
public List<String> getParameterTypes()
ServiceTaskStategetParameterTypes in interface ServiceTaskStatepublic Method getMethod()
public void setMethod(Method method)
public boolean isAsync()
public void setAsync(boolean async)
Copyright © 2023 Seata. All rights reserved.