All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.reflections.Configuration Maven / Gradle / Ivy

package org.reflections;

import com.google.common.base.Predicate;
import org.reflections.adapters.MetadataAdapter;
import org.reflections.scanners.Scanner;
import org.reflections.serializers.Serializer;

import javax.annotation.Nullable;
import java.net.URL;
import java.util.Set;
import java.util.concurrent.ExecutorService;

/**
 * Configuration is used to create a configured instance of {@link Reflections}
 * 

it is preferred to use {@link org.reflections.util.ConfigurationBuilder} */ public interface Configuration { /** the scanner instances used for scanning different metadata */ Set getScanners(); /** the urls to be scanned */ Set getUrls(); /** the metadata adapter used to fetch metadata from classes */ @SuppressWarnings({"RawUseOfParameterizedType"}) MetadataAdapter getMetadataAdapter(); /** get the fully qualified name filter used to filter types to be scanned */ @Nullable Predicate getInputsFilter(); /** executor service used to scan files. if null, scanning is done in a simple for loop */ ExecutorService getExecutorService(); /** the default serializer to use when saving Reflection */ Serializer getSerializer(); /** get class loaders, might be used for resolving methods/fields */ @Nullable ClassLoader[] getClassLoaders(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy