Class LicenseCategorization

  • All Implemented Interfaces:

    
    public final class LicenseCategorization
    
                        

    A 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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final SpdxSingleLicenseExpression id
      private final Set<String> categories
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final SpdxSingleLicenseExpression getId() The SpdxSingleLicenseExpression of this LicenseCategorization.
      final Set<String> getCategories() The identifiers of the license categories this license is assigned to.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait