Class DefaultLicenseInfoProvider
-
- All Implemented Interfaces:
-
org.ossreviewtoolkit.model.licenses.LicenseInfoProvider
public final class DefaultLicenseInfoProvider implements LicenseInfoProvider
The default LicenseInfoProvider that collects license information from an ortResult.
-
-
Constructor Summary
Constructors Constructor Description DefaultLicenseInfoProvider(OrtResult ortResult, PackageConfigurationProvider packageConfigurationProvider)
-
Method Summary
Modifier and Type Method Description final OrtResultgetOrtResult()LicenseInfoget(Identifier id)Get the LicenseInfo for the project or package identified by id. -
-
Constructor Detail
-
DefaultLicenseInfoProvider
DefaultLicenseInfoProvider(OrtResult ortResult, PackageConfigurationProvider packageConfigurationProvider)
-
-
Method Detail
-
getOrtResult
final OrtResult getOrtResult()
-
get
LicenseInfo get(Identifier id)
Get the LicenseInfo for the project or package identified by id.
-
-
-
-