Class ServiceWrapper
java.lang.Object
no.sikt.graphitron.definitions.helpers.ServiceWrapper
Class that contains extended information about a service.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
ServiceWrapper
public ServiceWrapper(T field)
-
-
Method Details
-
getGenericReturnType
- Returns:
- The class of the return type for this service method.
-
getMethodName
- Returns:
- The reflected method name for this service method.
-
getServiceClassName
- Returns:
- Javapoet classname of the service.
-
getContextFields
- Returns:
- Map of context argument to be added to the service call mapped to their types.
-
getReference
- Returns:
- The reference to the external service that this field is related to.
-
getMethod
- Returns:
- The method that is referenced by this service.
-