Class AbstractInterfaceMappingStrategy
- java.lang.Object
-
- io.leangen.graphql.generator.mapping.strategy.AbstractInterfaceMappingStrategy
-
- All Implemented Interfaces:
InterfaceMappingStrategy
- Direct Known Subclasses:
AnnotatedInterfaceStrategy,PackageBasedInterfaceStrategy,SuperTypeBasedInterfaceStrategy
public abstract class AbstractInterfaceMappingStrategy extends Object implements InterfaceMappingStrategy
- Author:
- Bojan Tomic (kaqqao)
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractInterfaceMappingStrategy()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Collection<AnnotatedType>getInterfaces(AnnotatedType type)booleansupports(AnnotatedType type)protected abstract booleansupportsInterface(AnnotatedType inter)AbstractInterfaceMappingStrategywithClassMapping(boolean mapClasses)AbstractInterfaceMappingStrategywithFilters(Predicate<Class>... filters)AbstractInterfaceMappingStrategywithUnresolvableInterfacesIgnored()
-
-
-
Method Detail
-
withClassMapping
public AbstractInterfaceMappingStrategy withClassMapping(boolean mapClasses)
-
withUnresolvableInterfacesIgnored
public AbstractInterfaceMappingStrategy withUnresolvableInterfacesIgnored()
-
withFilters
@SafeVarargs public final AbstractInterfaceMappingStrategy withFilters(Predicate<Class>... filters)
-
supports
public boolean supports(AnnotatedType type)
- Specified by:
supportsin interfaceInterfaceMappingStrategy
-
supportsInterface
protected abstract boolean supportsInterface(AnnotatedType inter)
-
getInterfaces
public Collection<AnnotatedType> getInterfaces(AnnotatedType type)
- Specified by:
getInterfacesin interfaceInterfaceMappingStrategy
-
-