Class RepositoryConfiguration
-
- All Implemented Interfaces:
public final class RepositoryConfigurationA project specific configuration for ORT which is usually stored in ORT_REPO_CONFIG_FILENAME at the root of a repository. It will be included in the analyzer result and can be further processed by the other tools.
-
-
Field Summary
Fields Modifier and Type Field Description private final RepositoryAnalyzerConfigurationanalyzerprivate final Excludesexcludesprivate final Resolutionsresolutionsprivate final Curationscurationsprivate final List<PackageConfiguration>packageConfigurationsprivate final LicenseChoiceslicenseChoices
-
Constructor Summary
Constructors Constructor Description RepositoryConfiguration(RepositoryAnalyzerConfiguration analyzer, Excludes excludes, Resolutions resolutions, Curations curations, List<PackageConfiguration> packageConfigurations, LicenseChoices licenseChoices)
-
Method Summary
Modifier and Type Method Description final RepositoryAnalyzerConfigurationgetAnalyzer()The configuration for the analyzer. final ExcludesgetExcludes()Defines which parts of the repository will be excluded. final ResolutionsgetResolutions()Defines resolutions for issues with this repository. final CurationsgetCurations()Defines curations for packages used as dependencies by projects in this repository, or curations for license findings in the source code of a project in this repository. final List<PackageConfiguration>getPackageConfigurations()Defines configurations for packages used as dependencies by projects in this repository. final LicenseChoicesgetLicenseChoices()Defines license choices within this repository. -
-
Constructor Detail
-
RepositoryConfiguration
RepositoryConfiguration(RepositoryAnalyzerConfiguration analyzer, Excludes excludes, Resolutions resolutions, Curations curations, List<PackageConfiguration> packageConfigurations, LicenseChoices licenseChoices)
-
-
Method Detail
-
getAnalyzer
final RepositoryAnalyzerConfiguration getAnalyzer()
The configuration for the analyzer. Values in this configuration take precedence over global configuration.
-
getExcludes
final Excludes getExcludes()
Defines which parts of the repository will be excluded. Note that excluded parts will still be analyzed and scanned, but related errors will be marked as resolved in the reporter output.
-
getResolutions
final Resolutions getResolutions()
Defines resolutions for issues with this repository.
-
getCurations
final Curations getCurations()
Defines curations for packages used as dependencies by projects in this repository, or curations for license findings in the source code of a project in this repository.
-
getPackageConfigurations
final List<PackageConfiguration> getPackageConfigurations()
Defines configurations for packages used as dependencies by projects in this repository.
-
getLicenseChoices
final LicenseChoices getLicenseChoices()
Defines license choices within this repository.
-
-
-
-