Class Bazel
-
- All Implemented Interfaces:
public final class Bazel extends PackageManager
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBazel.Factory
-
Field Summary
Fields Modifier and Type Field Description private final FileanalysisRootprivate final AnalyzerConfigurationanalyzerConfigprivate final Excludesexcludesprivate final StringmanagerNameprivate final StringprojectTypeprivate final RepositoryConfigurationrepoConfig
-
Method Summary
Modifier and Type Method Description List<File>mapDefinitionFiles(List<File> definitionFiles)To avoid processing the module files in a local registry as definition files, ignore them if they are aside a source.json file and under a directory with a metadata.json file. List<ProjectAnalyzerResult>resolveDependencies(File definitionFile, Map<String, String> labels)-
Methods inherited from class org.ossreviewtoolkit.analyzer.PackageManager
findPackageManagerDependencies, getAnalysisRoot, getAnalyzerConfig, getExcludes, getManagerName, getProjectType, getRepoConfig, resolveDependencies -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
mapDefinitionFiles
List<File> mapDefinitionFiles(List<File> definitionFiles)
To avoid processing the module files in a local registry as definition files, ignore them if they are aside a source.json file and under a directory with a metadata.json file. This simple metric avoids parsing the .bazelrc in the top directory of the project to find out if a MODULE.bazel file is part of a local registry or not.
-
-
-
-