public class ServiceTaskStateImpl extends AbstractTaskState implements ServiceTaskState
AbstractTaskState.ExceptionMatchImpl, AbstractTaskState.RetryImplTaskState.ExceptionMatch, TaskState.Retry, TaskState.StatusMatch| 构造器和说明 |
|---|
ServiceTaskStateImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
Method |
getMethod() |
List<String> |
getParameterTypes()
service method
|
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, getOutput, getOutputExpressions, getRetry, getStatus, isForCompensation, isForUpdate, isPersist, setCatches, setCompensateState, setForCompensation, setForUpdate, setInput, setInputExpressions, setOutput, setOutputExpressions, setPersist, setRetry, setStatusgetComment, getExtensions, getName, getNext, getStateMachine, getType, setComment, setExtensions, setName, setNext, setStateMachine, setTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisPersistgetCatches, getCompensateState, getRetry, getStatus, isForCompensation, isForUpdategetComment, getExtensions, getName, getNext, getStateMachine, getTypepublic String getServiceType()
ServiceTaskStategetServiceType 在接口中 ServiceTaskStatepublic void setServiceType(String serviceType)
public String getServiceName()
ServiceTaskStategetServiceName 在接口中 ServiceTaskStatepublic void setServiceName(String serviceName)
public String getServiceMethod()
ServiceTaskStategetServiceMethod 在接口中 ServiceTaskStatepublic void setServiceMethod(String serviceMethod)
public List<String> getParameterTypes()
ServiceTaskStategetParameterTypes 在接口中 ServiceTaskStatepublic Method getMethod()
public void setMethod(Method method)
public boolean isAsync()
public void setAsync(boolean async)
Copyright © 2020 Seata. All rights reserved.