| 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)
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 |
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 |
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 |
|---|---|
abstract NamedTypedValue<T,V> |
NamedTypedValue.copyStructure() |
| Modifier and Type | Method and Description |
|---|---|
List<NamedTypedValue> |
NamedTypedValue.getCandidates() |
| 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) |
PairType(NamedTypedValue keyTemplate,
NamedTypedValue valueTemplate) |
PairType(NamedTypedValue keyTemplate,
NamedTypedValue valueTemplate) |
| Constructor and Description |
|---|
ObjectType(String type,
String fullTypeName,
List<NamedTypedValue> fields,
Class<?> clazz) |
Copyright © 2016–2022. All rights reserved.