| Modifier and Type | Method and Description |
|---|---|
static NamedTypedValue |
RPCEndpointsBuilder.buildDbExternalServiceResponse(InterfaceSchema schema,
MockDatabaseDto dbDto,
RPCType rpcType)
identify return datatype for database as external services
|
static NamedTypedValue |
RPCEndpointsBuilder.buildExternalServiceResponse(InterfaceSchema schema,
MockRPCExternalServiceDto apiDto,
RPCType rpcType)
identify return datatype for API services as external services
|
| Modifier and Type | Method and Description |
|---|---|
static void |
JavaXConstraintHandler.handleParam(NamedTypedValue namedTypedValue,
Annotation annotation)
set constraints of the param based on the given annotation
|
| Modifier and Type | Method and Description |
|---|---|
NamedTypedValue |
EndpointSchema.getResponse() |
| Modifier and Type | Method and Description |
|---|---|
List<NamedTypedValue> |
EndpointSchema.getExceptions() |
Map<String,NamedTypedValue> |
InterfaceSchema.getObjParamCollections() |
List<NamedTypedValue> |
EndpointSchema.getRequestParams() |
| Modifier and Type | Method and Description |
|---|---|
void |
InterfaceSchema.registerType(TypeSchema type,
NamedTypedValue param,
boolean isTypeToIdentify)
this method is used to collect all objects in sut
|
| Constructor and Description |
|---|
EndpointSchema(String name,
String interfaceName,
String clientTypeName,
List<NamedTypedValue> requestParams,
NamedTypedValue response,
List<NamedTypedValue> exceptions,
boolean authRequired,
List<Integer> requiredAuthCandidates,
Set<String> relatedCustomizedCandidates) |
| Constructor and Description |
|---|
EndpointSchema(String name,
String interfaceName,
String clientTypeName,
List<NamedTypedValue> requestParams,
NamedTypedValue response,
List<NamedTypedValue> exceptions,
boolean authRequired,
List<Integer> requiredAuthCandidates,
Set<String> relatedCustomizedCandidates) |
EndpointSchema(String name,
String interfaceName,
String clientTypeName,
List<NamedTypedValue> requestParams,
NamedTypedValue response,
List<NamedTypedValue> exceptions,
boolean authRequired,
List<Integer> requiredAuthCandidates,
Set<String> relatedCustomizedCandidates) |
| Modifier and Type | Class and Description |
|---|---|
class |
ArrayParam
array param
|
class |
BigDecimalParam |
class |
BigIntegerParam
info for JDK:
BigInteger constructors and operations throw ArithmeticException when the result is
out of the supported range of -2^Integer.MAX_VALUE (exclusive) to +2^Integer.MAX_VALUE (exclusive).
|
class |
BooleanParam
boolean param
|
class |
ByteBufferParam
this is created for handling binary in thrift, see https://thrift.apache.org/docs/types
handle it as string
|
class |
ByteParam
byte param
|
class |
CharParam
char param
|
class |
CollectionParam<V>
collection param
|
class |
DateParam
handle date param with java.util.Date
|
class |
DoubleParam
double param
|
class |
EnumParam
enum parameter
|
class |
FloatParam
float param
|
class |
IntParam
int param
|
class |
ListParam
thrift
ArrayList (see https://thrift.apache.org/docs/types#containers)
|
class |
LongParam
long param
|
class |
MapParam
thrift
HashMap (see https://thrift.apache.org/docs/types#containers)
|
class |
ObjectParam
object param
|
class |
PairParam
map entry which is only used for handling map
|
class |
PrimitiveOrWrapperParam<V>
Primitive types Param
|
class |
Protobuf3ByteStringParam
this is for handling bytes in gRPC with protobuf3 ByteString
handle it as string with utf8 now
copyFromUtf8
toStringUtf8
|
class |
SetParam
thrift
HashSet (see https://thrift.apache.org/docs/types#containers)
|
class |
ShortParam
int param
|
class |
StringParam
string param
|
| Modifier and Type | Method and Description |
|---|---|
NamedTypedValue<BigDecimalType,BigDecimal> |
BigDecimalParam.copyStructure() |
NamedTypedValue<BigIntegerType,BigInteger> |
BigIntegerParam.copyStructure() |
abstract NamedTypedValue<T,V> |
NamedTypedValue.copyStructure() |
NamedTypedValue<T,V> |
NamedTypedValue.copyStructureWithProperties() |
NamedTypedValue |
NamedTypedValue.getDefaultValue() |
| Modifier and Type | Method and Description |
|---|---|
List<NamedTypedValue> |
NamedTypedValue.getCandidates() |
| Modifier and Type | Method and Description |
|---|---|
void |
BigDecimalParam.copyProperties(NamedTypedValue copy) |
void |
BigIntegerParam.copyProperties(NamedTypedValue copy) |
void |
CollectionParam.copyProperties(NamedTypedValue copy) |
void |
MapParam.copyProperties(NamedTypedValue copy) |
void |
NamedTypedValue.copyProperties(NamedTypedValue copy) |
void |
PrimitiveOrWrapperParam.copyProperties(NamedTypedValue copy) |
void |
StringParam.copyProperties(NamedTypedValue copy) |
default void |
NumericConstraintBase.handleConstraintsInCopy(NamedTypedValue copy) |
void |
NamedTypedValue.setDefaultValue(NamedTypedValue defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
NamedTypedValue.setCandidates(List<NamedTypedValue> candidates) |
| Modifier and Type | Method and Description |
|---|---|
NamedTypedValue |
PairType.getFirstTemplate() |
NamedTypedValue |
PairType.getSecondTemplate() |
NamedTypedValue |
CollectionType.getTemplate() |
| Modifier and Type | Method and Description |
|---|---|
List<NamedTypedValue> |
ObjectType.getFields() |
| Constructor and Description |
|---|
CollectionType(String type,
String fullTypeName,
NamedTypedValue template,
Class<?> clazz,
JavaDtoSpec spec) |
PairType(NamedTypedValue keyTemplate,
NamedTypedValue valueTemplate,
JavaDtoSpec spec) |
PairType(NamedTypedValue keyTemplate,
NamedTypedValue valueTemplate,
JavaDtoSpec spec) |
| Constructor and Description |
|---|
ObjectType(String type,
String fullTypeName,
List<NamedTypedValue> fields,
Class<?> clazz,
List<String> genericTypes,
JavaDtoSpec spec) |
Copyright © 2016–2025. All rights reserved.