public class RPCProblem extends ProblemInfo
servicesToNotMock| Constructor and Description |
|---|
RPCProblem(Class<T> interfaceClass,
K client,
RPCType type) |
RPCProblem(Map<String,Object> mapOfInterfaceAndClient) |
RPCProblem(Map<String,Object> mapOfInterfaceAndClient,
Map<String,List<String>> skipEndpointsByName,
Map<String,List<String>> skipEndpointsByAnnotation,
Map<String,List<String>> involveEndpointsByName,
Map<String,List<String>> involveEndpointsByAnnotation,
RPCType type) |
RPCProblem(Map<String,Object> mapOfInterfaceAndClient,
RPCType type) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getClient(String interfaceId) |
Map<String,List<String>> |
getInvolveEndpointsByAnnotation() |
Map<String,List<String>> |
getInvolveEndpointsByName() |
Set<String> |
getKeysOfMapOfInterfaceAndClient() |
Map<String,Object> |
getMapOfInterfaceAndClient() |
Map<String,List<String>> |
getSkipEndpointsByAnnotation() |
Map<String,List<String>> |
getSkipEndpointsByName() |
RPCType |
getType() |
RPCProblem |
withServicesToNotMock(List<ExternalService> servicesToNotMock) |
getServicesToNotMockpublic RPCProblem(Class<T> interfaceClass, K client, RPCType type)
interfaceClass - an interface with API definitionclient - an actual client library for the APItype - the type of RPC systempublic RPCProblem(Map<String,Object> mapOfInterfaceAndClient)
mapOfInterfaceAndClient - a map of interfaces with their corresponding clientpublic RPCProblem(Map<String,Object> mapOfInterfaceAndClient, RPCType type)
mapOfInterfaceAndClient - a map of interfaces with their corresponding clienttype - is RPC typepublic RPCProblem(Map<String,Object> mapOfInterfaceAndClient, Map<String,List<String>> skipEndpointsByName, Map<String,List<String>> skipEndpointsByAnnotation, Map<String,List<String>> involveEndpointsByName, Map<String,List<String>> involveEndpointsByAnnotation, RPCType type)
mapOfInterfaceAndClient - a map of interfaces with their corresponding clientskipEndpointsByName - is a map of endpoints to be skipped for each interface by endpoint nameskipEndpointsByAnnotation - is a map of endpoints to be skipped for each interface by endpoint annotationinvolveEndpointsByName - is a map of endpoints to be involved for each interface by endpoint nameinvolveEndpointsByAnnotation - is a map of endpoints to be involved for each interface by endpoint annotationtype - is RPC typepublic Set<String> getKeysOfMapOfInterfaceAndClient()
public RPCType getType()
public Object getClient(String interfaceId)
interfaceId - is the full name of the interfacepublic RPCProblem withServicesToNotMock(List<ExternalService> servicesToNotMock)
withServicesToNotMock in class ProblemInfoCopyright © 2016–2025. All rights reserved.