Class LicenseFinding

  • All Implemented Interfaces:

    
    public final class LicenseFinding
    
                        

    A class representing a license finding. License findings can point to single licenses or to complex SpdxExpressions, depending on the capabilities of the used license scanner. LicenseFindingCurations can also be used to create findings with complex expressions.

    • Method Detail

      • getLicense

         final SpdxExpression getLicense()

        The found SPDX expression.

      • getScore

         final Float getScore()

        The score of a license finding. Its exact meaning is scanner-specific, but it should give some hint at how much the finding can be relied on / how confident the scanner is to be right. In most cases this is a percentage where 100.0 means that the scanner is 100% confident that the finding is correct.