Class LicenseCategorization
-
- All Implemented Interfaces:
public final class LicenseCategorizationA class for configuring metadata for a specific license referred to by a SPDX license identifier.
The metadata consists of assignments to generic categories whose exact meaning is customer specific. The categories a license belong to can be evaluated by other components, such as rules or templates, which can decide - based on this information - how to handle a specific license.
-
-
Field Summary
Fields Modifier and Type Field Description private final SpdxSingleLicenseExpressionidprivate final Set<String>categories
-
Constructor Summary
Constructors Constructor Description LicenseCategorization(SpdxSingleLicenseExpression id, Set<String> categories)
-
Method Summary
Modifier and Type Method Description final SpdxSingleLicenseExpressiongetId()The SpdxSingleLicenseExpression of this LicenseCategorization. final Set<String>getCategories()The identifiers of the license categories this license is assigned to. -
-
Method Detail
-
getId
final SpdxSingleLicenseExpression getId()
The SpdxSingleLicenseExpression of this LicenseCategorization.
-
getCategories
final Set<String> getCategories()
The identifiers of the license categories this license is assigned to.
-
-
-
-