Class DownloaderConfiguration
-
- All Implemented Interfaces:
public final class DownloaderConfiguration
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanallowMovingRevisionsprivate final List<String>includedLicenseCategoriesprivate final List<SourceCodeOrigin>sourceCodeOrigins
-
Constructor Summary
Constructors Constructor Description DownloaderConfiguration(Boolean allowMovingRevisions, List<String> includedLicenseCategories, List<SourceCodeOrigin> sourceCodeOrigins)
-
Method Summary
Modifier and Type Method Description final BooleangetAllowMovingRevisions()Toggle whether to allow downloads using symbolic names that point to moving revisions, like Git branches. final List<String>getIncludedLicenseCategories()The categories licenses of packages need to be part of in order to get included into the download, or an empty list to include all packages. final List<SourceCodeOrigin>getSourceCodeOrigins()Configuration of the considered source code origins and their priority order. -
-
Constructor Detail
-
DownloaderConfiguration
DownloaderConfiguration(Boolean allowMovingRevisions, List<String> includedLicenseCategories, List<SourceCodeOrigin> sourceCodeOrigins)
-
-
Method Detail
-
getAllowMovingRevisions
final Boolean getAllowMovingRevisions()
Toggle whether to allow downloads using symbolic names that point to moving revisions, like Git branches.
-
getIncludedLicenseCategories
final List<String> getIncludedLicenseCategories()
The categories licenses of packages need to be part of in order to get included into the download, or an empty list to include all packages.
-
getSourceCodeOrigins
final List<SourceCodeOrigin> getSourceCodeOrigins()
Configuration of the considered source code origins and their priority order.
-
-
-
-