Package org.burningwave.core.classes
Class SearchConfig
java.lang.Object
org.burningwave.core.classes.SearchConfig
- All Implemented Interfaces:
AutoCloseable,Closeable,Identifiable
-
Method Summary
Modifier and TypeMethodDescriptionaddFileFilter(Function<FileSystemItem, FileSystemItem.Criteria> filterSupplier) addFileFilter(FileSystemItem.Criteria filter) final SearchConfigaddFileSystemItems(Collection<FileSystemItem>... pathColls) final SearchConfigaddFileSystemItems(FileSystemItem... paths) final SearchConfigaddPaths(Collection<String>... pathColls) final SearchConfigaddResources(ClassLoader classLoader, String... paths) final SearchConfigaddResources(ClassLoader classLoader, Collection<String>... pathColls) final SearchConfigaddResources(String... paths) final SearchConfigaddResources(Collection<String>... pathCollections) by(ClassCriteria classCriteria) static SearchConfigbyCriteria(ClassCriteria classCriteria) voidclose()copyTo(SearchConfig destConfig) static SearchConfigcreate()static SearchConfigforFileSystemItems(Collection<FileSystemItem>... pathsColl) static SearchConfigstatic SearchConfigforPaths(Collection<String>... pathsColl) static SearchConfigforResources(ClassLoader classLoader, String... paths) static SearchConfigforResources(ClassLoader classLoader, Collection<String>... pathCollections) static SearchConfigforResources(String... paths) static SearchConfigforResources(Collection<String>... pathCollections) optimizePaths(boolean flag) setFileFilter(Function<FileSystemItem, FileSystemItem.Criteria> filterSupplier) setFileFilter(FileSystemItem.Criteria filter) setFindFunction(Function<FileSystemItem, FileSystemItem.Find> findInFunction) setMinimumCollectionSizeForParallelIteration(int value) useAsParentClassLoader(ClassLoader classLoader) useClassLoader(PathScannerClassLoader classLoader) useDefaultPathScannerClassLoader(boolean value) useDefaultPathScannerClassLoaderAsParent(boolean value) waitForSearchEnding(boolean waitForSearchEnding) withExceptionHandlerForFileFilter(BiFunction<Throwable, FileSystemItem[], Boolean> fileFilterExceptionHandler) withPriority(Integer priority) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.burningwave.core.Closeable
closeResources, closeResources, createCloseResoucesTask, createCloseResoucesTaskMethods inherited from interface org.burningwave.core.Identifiable
getId, getOperationId
-
Method Details
-
create
-
forPaths
-
forFileSystemItems
-
forPaths
-
forResources
-
forResources
-
forResources
-
forResources
@SafeVarargs public static SearchConfig forResources(ClassLoader classLoader, Collection<String>... pathCollections) -
byCriteria
-
by
-
addPaths
-
addPaths
-
addFileSystemItems
-
addFileSystemItems
-
addResources
@SafeVarargs public final SearchConfig addResources(ClassLoader classLoader, Collection<String>... pathColls) -
addResources
-
addResources
-
addResources
-
withPriority
-
waitForSearchEnding
-
checkForAddedClassesForAllPathThat
-
checkForAddedClasses
-
optimizePaths
-
setFindFunction
-
findInChildren
-
findRecursiveInChildren
-
findInAllChildren
-
findFirstInAllChildren
-
findFirstInChildren
-
setFileFilter
-
setFileFilter
-
addFileFilter
-
addFileFilter
-
withExceptionHandlerForFileFilter
public SearchConfig withExceptionHandlerForFileFilter(BiFunction<Throwable, FileSystemItem[], Boolean> fileFilterExceptionHandler) -
setMinimumCollectionSizeForParallelIteration
-
useClassLoader
-
useDefaultPathScannerClassLoader
-
useAsParentClassLoader
-
useDefaultPathScannerClassLoaderAsParent
-
useNewIsolatedClassLoader
-
copyTo
-
createCopy
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-