Class SuperTypeBasedInterfaceStrategy
- java.lang.Object
-
- io.leangen.graphql.generator.mapping.strategy.AbstractInterfaceMappingStrategy
-
- io.leangen.graphql.generator.mapping.strategy.SuperTypeBasedInterfaceStrategy
-
- All Implemented Interfaces:
InterfaceMappingStrategy
public class SuperTypeBasedInterfaceStrategy extends AbstractInterfaceMappingStrategy
- Author:
- Bojan Tomic (kaqqao)
-
-
Constructor Summary
Constructors Constructor Description SuperTypeBasedInterfaceStrategy(Collection<Class<?>> mappedTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
supportsInterface(AnnotatedType inter)
-
Methods inherited from class io.leangen.graphql.generator.mapping.strategy.AbstractInterfaceMappingStrategy
getInterfaces, supports, withClassMapping, withFilters, withUnresolvableInterfacesIgnored
-
-
-
-
Constructor Detail
-
SuperTypeBasedInterfaceStrategy
public SuperTypeBasedInterfaceStrategy(Collection<Class<?>> mappedTypes)
-
-
Method Detail
-
supportsInterface
public boolean supportsInterface(AnnotatedType inter)
- Specified by:
supportsInterface
in classAbstractInterfaceMappingStrategy
-
-