Interface Configuration

All Known Implementing Classes:
ConfigurationBuilder

public interface Configuration
Configuration is used to create a configured instance of Reflections

it is preferred to use ConfigurationBuilder

  • Method Summary

    Modifier and Type
    Method
    Description
    optional class loaders used for resolving types.
    the fully qualified name filter used to filter types to be scanned. defaults to accept all inputs (if null).
    the scanner instances used for indexing metadata. defaults to SubTypes and TypesAnnotated.
    the urls to be scanned. required.
    boolean
    scan urls in parallel. defaults to true.
    boolean
    if true (default), expand super types after scanning, for super types that were not scanned.
  • Method Details

    • getScanners

      Set<Scanner> getScanners()
      the scanner instances used for indexing metadata. defaults to SubTypes and TypesAnnotated.
    • getUrls

      Set<URL> getUrls()
      the urls to be scanned. required.
    • getInputsFilter

      Predicate<String> getInputsFilter()
      the fully qualified name filter used to filter types to be scanned. defaults to accept all inputs (if null).
    • isParallel

      boolean isParallel()
      scan urls in parallel. defaults to true.
    • getClassLoaders

      ClassLoader[] getClassLoaders()
      optional class loaders used for resolving types.
    • shouldExpandSuperTypes

      boolean shouldExpandSuperTypes()
      if true (default), expand super types after scanning, for super types that were not scanned.

      see Reflections.expandSuperTypes(Map, Map)