Class AnnotatedWithAnyPackageScanFilter

  • All Implemented Interfaces:
    org.apache.camel.spi.PackageScanFilter

    public class AnnotatedWithAnyPackageScanFilter
    extends Object
    implements org.apache.camel.spi.PackageScanFilter
    Package scan filter for testing if a given class is annotated with any of the annotations.
    • Constructor Detail

      • AnnotatedWithAnyPackageScanFilter

        public AnnotatedWithAnyPackageScanFilter​(Set<Class<? extends Annotation>> annotations)
      • AnnotatedWithAnyPackageScanFilter

        public AnnotatedWithAnyPackageScanFilter​(Set<Class<? extends Annotation>> annotations,
                                                 boolean checkMetaAnnotations)
    • Method Detail

      • matches

        public boolean matches​(Class<?> type)
        Specified by:
        matches in interface org.apache.camel.spi.PackageScanFilter