Class DeclaredLicenseInfo
-
- All Implemented Interfaces:
public final class DeclaredLicenseInfoInformation about the declared license of a package or project.
-
-
Field Summary
Fields Modifier and Type Field Description private final Set<String>authorsprivate final Set<String>licensesprivate final ProcessedDeclaredLicenseprocessedprivate final List<PackageCurationResult>appliedCurations
-
Constructor Summary
Constructors Constructor Description DeclaredLicenseInfo(Set<String> authors, Set<String> licenses, ProcessedDeclaredLicense processed, List<PackageCurationResult> appliedCurations)
-
Method Summary
Modifier and Type Method Description final Set<String>getAuthors()The set of authors. final Set<String>getLicenses()The unmodified set of declared licenses. final ProcessedDeclaredLicensegetProcessed()The processed declared license. final List<PackageCurationResult>getAppliedCurations()The list of PackageCurationResults that modified the declared license. -
-
Method Detail
-
getAuthors
final Set<String> getAuthors()
The set of authors.
-
getLicenses
final Set<String> getLicenses()
The unmodified set of declared licenses.
-
getProcessed
final ProcessedDeclaredLicense getProcessed()
The processed declared license.
-
getAppliedCurations
final List<PackageCurationResult> getAppliedCurations()
The list of PackageCurationResults that modified the declared license.
-
-
-
-