Package org.reflections
Interface Configuration
-
- All Known Implementing Classes:
ConfigurationBuilder
public interface Configuration
Configuration is used to create a configured instance ofReflections
it is preferred to use
ConfigurationBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ClassLoader[]
getClassLoaders()
get class loaders, might be used for resolving methods/fieldsjava.util.concurrent.ExecutorService
getExecutorService()
executor service used to scan files.java.util.function.Predicate<java.lang.String>
getInputsFilter()
get the fully qualified name filter used to filter types to be scannedMetadataAdapter
getMetadataAdapter()
the metadata adapter used to fetch metadata from classesjava.util.Set<Scanner>
getScanners()
the scanner instances used for scanning different metadataSerializer
getSerializer()
the default serializer to use when saving Reflectionjava.util.Set<java.net.URL>
getUrls()
the urls to be scannedboolean
shouldExpandSuperTypes()
if true (default), expand super types after scanning, for super types that were not scanned.
-
-
-
Method Detail
-
getScanners
java.util.Set<Scanner> getScanners()
the scanner instances used for scanning different metadata
-
getUrls
java.util.Set<java.net.URL> getUrls()
the urls to be scanned
-
getMetadataAdapter
MetadataAdapter getMetadataAdapter()
the metadata adapter used to fetch metadata from classes
-
getInputsFilter
java.util.function.Predicate<java.lang.String> getInputsFilter()
get the fully qualified name filter used to filter types to be scanned
-
getExecutorService
java.util.concurrent.ExecutorService getExecutorService()
executor service used to scan files. if null, scanning is done in a simple for loop
-
getSerializer
Serializer getSerializer()
the default serializer to use when saving Reflection
-
getClassLoaders
java.lang.ClassLoader[] getClassLoaders()
get class loaders, might be used for resolving methods/fields
-
shouldExpandSuperTypes
boolean shouldExpandSuperTypes()
if true (default), expand super types after scanning, for super types that were not scanned.
-
-