Class Bazel
-
- All Implemented Interfaces:
-
org.ossreviewtoolkit.utils.common.CommandLineTool
public final class Bazel extends PackageManager implements CommandLineTool
-
-
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 RepositoryConfigurationrepoConfig
-
Method Summary
Modifier and Type Method Description Stringcommand(File workingDir)ProcessCapturerun(CharSequence args, File workingDir, Map<String, String> environment)StringtransformVersion(String output)RangesListgetVersionRequirement()List<ProjectAnalyzerResult>resolveDependencies(File definitionFile, Map<String, String> labels)-
Methods inherited from class org.ossreviewtoolkit.analyzer.PackageManager
findPackageManagerDependencies, getAnalysisRoot, getAnalyzerConfig, getExcludes, getManagerName, getRepoConfig, mapDefinitionFiles, resolveDependencies -
Methods inherited from class org.ossreviewtoolkit.utils.common.CommandLineTool
checkVersion, displayName, getVersion, getVersionArguments, isInPath, run -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
transformVersion
String transformVersion(String output)
-
getVersionRequirement
RangesList getVersionRequirement()
-
-
-
-