public class MockService extends AbstractServiceInfo
Constructor and Description |
---|
MockService() |
Modifier and Type | Method and Description |
---|---|
String |
getCategory()
返回服务分类
|
List<Parameter> |
getParameters()
若参数为空,需要返回一个空list
|
List<Parameter> |
getResults()
若结果集为空,需要返回一个空list
|
String |
getServiceId() |
void |
setCategory(String category) |
void |
setMethodName(String methodName) |
void |
setParameters(List<Parameter> parameters) |
void |
setResults(List<Parameter> results) |
void |
setServiceId(String serviceId) |
void |
setType(Class<?> type) |
compareTo, getRequestTimeout
public String getServiceId()
public void setServiceId(String serviceId)
public String getCategory()
ServiceInfo
public void setCategory(String category)
public List<Parameter> getParameters()
ServiceInfo
public List<Parameter> getResults()
ServiceInfo
public void setType(Class<?> type)
public void setMethodName(String methodName)
Copyright © 2006–2018 TinyGroup. All rights reserved.