Package org.spdx.library.model.v2.license
Model for the SPDX version 2 license related objects
- Author:
- Gary O'Neall
-
Class Summary Class Description AbstractExtractedLicenseInfo ExtractedLicenseInfo which can be represented as a concrete ExtractedLicenseInfo within the same SPDX document with all properties accessible, or as an ExternalExtractedLicenseInfo which represents a license not included within the SPDX document.AnyLicenseInfo This abstract class represents several ways of describing licensing information.ConjunctiveLicenseSet A set of licenses where all of the licenses applyCrossRef Cross reference details for the a URL referenceCrossRef.CrossRefBuilder Builder class for creating instances ofCrossRef
DisjunctiveLicenseSet A set of licenses where there is a choice of one of the licenses in the setExternalExtractedLicenseInfo This class represents an ExtractedLicenseInfo which is stored in an external SPDX document.ExtractedLicenseInfo An ExtractedLicensingInfo represents a license or licensing notice that was found in the package.License Describes a license All licenses have an ID.LicenseException Represents an SPDX license exception as defined in the License Expression Language Used with the "with" unary expression.LicenseSet A specific form of license information where there is a set of licenses representedListedLicenseException Represents a License Exception present on the SPDX License ListOrLaterOperator A license that has an or later operator (e.g.SimpleLicensingInfo The SimpleLicenseInfo class includes all resources that represent simple, atomic, licensing information.SpdxListedLicense Listed license for SPDX as listed at spdx.org/licensesSpdxListedLicense.Builder Builder class for creating instances ofSpdxListedLicense
SpdxNoAssertionLicense Special class of license to represent no asserted license license in the file or packagesSpdxNoneLicense A special license meaning that no license was foundWithExceptionOperator A license that has a With exception operator (e.g. -
Exception Summary Exception Description InvalidLicenseStringException Exception thrown when an invalid license string is encountered.LicenseParserException Exception thrown when an error occurs while parsing a license stringSpdxListedLicenseException Exception thrown when an error occurs related to SPDX listed licenses