Class LicenseInfo
-
- All Implemented Interfaces:
public final class LicenseInfoThis class contains all license information about a package or project.
-
-
Field Summary
Fields Modifier and Type Field Description private final Identifieridprivate final DeclaredLicenseInfodeclaredLicenseInfoprivate final DetectedLicenseInfodetectedLicenseInfoprivate final ConcludedLicenseInfoconcludedLicenseInfo
-
Constructor Summary
Constructors Constructor Description LicenseInfo(Identifier id, DeclaredLicenseInfo declaredLicenseInfo, DetectedLicenseInfo detectedLicenseInfo, ConcludedLicenseInfo concludedLicenseInfo)
-
Method Summary
Modifier and Type Method Description final IdentifiergetId()The identifier of the package or project. final DeclaredLicenseInfogetDeclaredLicenseInfo()Information about the declared license. final DetectedLicenseInfogetDetectedLicenseInfo()Information about the detected license. final ConcludedLicenseInfogetConcludedLicenseInfo()Information about the concluded license. -
-
Constructor Detail
-
LicenseInfo
LicenseInfo(Identifier id, DeclaredLicenseInfo declaredLicenseInfo, DetectedLicenseInfo detectedLicenseInfo, ConcludedLicenseInfo concludedLicenseInfo)
-
-
Method Detail
-
getId
final Identifier getId()
The identifier of the package or project.
-
getDeclaredLicenseInfo
final DeclaredLicenseInfo getDeclaredLicenseInfo()
Information about the declared license.
-
getDetectedLicenseInfo
final DetectedLicenseInfo getDetectedLicenseInfo()
Information about the detected license.
-
getConcludedLicenseInfo
final ConcludedLicenseInfo getConcludedLicenseInfo()
Information about the concluded license.
-
-
-
-