Class IgnoredAnnotationsTypeComparator
- java.lang.Object
-
- io.leangen.graphql.generator.mapping.IgnoredAnnotationsTypeComparator
-
- All Implemented Interfaces:
Comparator<AnnotatedType>
public class IgnoredAnnotationsTypeComparator extends Object implements Comparator<AnnotatedType>
-
-
Constructor Summary
Constructors Constructor Description IgnoredAnnotationsTypeComparator()IgnoredAnnotationsTypeComparator(Predicate<Class<? extends Annotation>> annotationFilter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(AnnotatedType o1, AnnotatedType o2)IgnoredAnnotationsTypeComparatorexclude(Class<? extends Annotation>... annotationTypes)IgnoredAnnotationsTypeComparatorexclude(String... packages)IgnoredAnnotationsTypeComparatorinclude(Class<? extends Annotation>... annotationTypes)IgnoredAnnotationsTypeComparatorinclude(String... packages)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Constructor Detail
-
IgnoredAnnotationsTypeComparator
public IgnoredAnnotationsTypeComparator()
-
IgnoredAnnotationsTypeComparator
public IgnoredAnnotationsTypeComparator(Predicate<Class<? extends Annotation>> annotationFilter)
-
-
Method Detail
-
exclude
@SafeVarargs public final IgnoredAnnotationsTypeComparator exclude(Class<? extends Annotation>... annotationTypes)
-
exclude
public IgnoredAnnotationsTypeComparator exclude(String... packages)
-
include
@SafeVarargs public final IgnoredAnnotationsTypeComparator include(Class<? extends Annotation>... annotationTypes)
-
include
public IgnoredAnnotationsTypeComparator include(String... packages)
-
compare
public int compare(AnnotatedType o1, AnnotatedType o2)
- Specified by:
comparein interfaceComparator<AnnotatedType>
-
-