Interface DelegatingOutputConverter<T,S>
-
- All Superinterfaces:
OutputConverter<T,S>
- All Known Implementing Classes:
ArrayAdapter,CollectionOutputConverter,CompletableFutureAdapter,GsonArrayAdapter,JsonArrayAdapter,MapOutputConverter,MapToListTypeAdapter,OptionalAdapter,StreamToCollectionTypeAdapter
public interface DelegatingOutputConverter<T,S> extends OutputConverter<T,S>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description List<AnnotatedType>getDerivedTypes(AnnotatedType type)default booleanisTransparent()ADelegatingOutputConverteris considered transparent if its sole purpose is to delegate to other converters, and contains no other logic of its own.-
Methods inherited from interface io.leangen.graphql.generator.mapping.OutputConverter
convertOutput, supports
-
-
-
-
Method Detail
-
getDerivedTypes
List<AnnotatedType> getDerivedTypes(AnnotatedType type)
-
isTransparent
default boolean isTransparent()
ADelegatingOutputConverteris considered transparent if its sole purpose is to delegate to other converters, and contains no other logic of its own. In other words, if there is no reason to invoke it without other applicable converters present. This flag is purely a performance optimization hint, and is always safe to leave onfalse.- Returns:
- A boolean signifying whether the converter is transparent.
-
-