Class FileSystemModuleToConfigDirectoryIndex
- java.lang.Object
-
- org.graalvm.reachability.internal.index.modules.FileSystemModuleToConfigDirectoryIndex
-
- All Implemented Interfaces:
ModuleToConfigDirectoryIndex
public class FileSystemModuleToConfigDirectoryIndex extends java.lang.Object implements ModuleToConfigDirectoryIndex
This is the default index from module to configuration directory, which first looks into the JSON index file, and if a module isn't found there, would try to find it in the standard FS location.
-
-
Constructor Summary
Constructors Constructor Description FileSystemModuleToConfigDirectoryIndex(java.nio.file.Path rootPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.nio.file.Path>findConfigurationDirectories(java.lang.String groupId, java.lang.String artifactId)Returns the directory containing the candidate configurations for the given module.
-
-
-
Method Detail
-
findConfigurationDirectories
public java.util.Set<java.nio.file.Path> findConfigurationDirectories(java.lang.String groupId, java.lang.String artifactId)Returns the directory containing the candidate configurations for the given module.- Specified by:
findConfigurationDirectoriesin interfaceModuleToConfigDirectoryIndex- Parameters:
groupId- the group of the moduleartifactId- the artifact of the module- Returns:
- the configuration directory
-
-