Class ResolvedConfiguration
-
- All Implemented Interfaces:
public final class ResolvedConfigurationThe ResolvedConfiguration contains non-administrative configuration which was resolved by an ORT tool to be available for subsequent tools. This is used to make the ORT result self-contained and consistent, so that it is not required to rely on external configuration for further processing. For example, packageCurations contains all package curations which apply to packages in this ORT result. This ensures that any tool that uses this ORT result as input does not have to query the package curation providers again and uses exactly the same set of package curations.
TODO: Add further data.
-
-
Field Summary
Fields Modifier and Type Field Description private final List<PackageConfiguration>packageConfigurationsprivate final List<ResolvedPackageCurations>packageCurationsprivate final Resolutionsresolutions
-
Constructor Summary
Constructors Constructor Description ResolvedConfiguration(List<PackageConfiguration> packageConfigurations, List<ResolvedPackageCurations> packageCurations, Resolutions resolutions)
-
Method Summary
Modifier and Type Method Description final List<PackageConfiguration>getPackageConfigurations()All PackageConfigurations that correspond to the scan results in this OrtResult. final List<ResolvedPackageCurations>getPackageCurations()The curations for all enabled providers ordered highest-priority-first. final ResolutionsgetResolutions()All resolutions that apply to this OrtResult. final List<PackageCuration>getAllPackageCurations()Return all PackageCurations contained in this ResolvedConfiguration in highest-priority-first order. -
-
Constructor Detail
-
ResolvedConfiguration
ResolvedConfiguration(List<PackageConfiguration> packageConfigurations, List<ResolvedPackageCurations> packageCurations, Resolutions resolutions)
-
-
Method Detail
-
getPackageConfigurations
final List<PackageConfiguration> getPackageConfigurations()
All PackageConfigurations that correspond to the scan results in this OrtResult.
-
getPackageCurations
final List<ResolvedPackageCurations> getPackageCurations()
The curations for all enabled providers ordered highest-priority-first. The list contains exactly one entry for each enabled provider.
-
getResolutions
final Resolutions getResolutions()
All resolutions that apply to this OrtResult.
-
getAllPackageCurations
final List<PackageCuration> getAllPackageCurations()
Return all PackageCurations contained in this ResolvedConfiguration in highest-priority-first order.
-
-
-
-