Class AnnotatedWithAnyPackageScanFilter

java.lang.Object
org.apache.camel.support.scan.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 Details

    • AnnotatedWithAnyPackageScanFilter

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

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

    • matches

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

      public Set<Class<? extends Annotation>> getAnnotations()
    • toString

      public String toString()
      Overrides:
      toString in class Object