Uses of Class
org.spdx.library.model.v2.license.AnyLicenseInfo
-
Packages that use AnyLicenseInfo Package Description org.spdx.library.model.v2 Model compatible with version 2 of the SPDX spec (2.0, 2.1, 2.2, and 2.3)org.spdx.library.model.v2.license Model for the SPDX version 2 license related objects -
-
Uses of AnyLicenseInfo in org.spdx.library.model.v2
Methods in org.spdx.library.model.v2 that return AnyLicenseInfo Modifier and Type Method Description AnyLicenseInfo
SpdxDocument. getDataLicense()
AnyLicenseInfo
SpdxItem. getLicenseConcluded()
AnyLicenseInfo
SpdxPackage. getLicenseDeclared()
Methods in org.spdx.library.model.v2 that return types with arguments of type AnyLicenseInfo Modifier and Type Method Description Optional<AnyLicenseInfo>
ModelObjectV2. getAnyLicenseInfoPropertyValue(org.spdx.storage.PropertyDescriptor propertyDescriptor)
Converts property values to an AnyLicenseInfo if possible - if NONE or NOASSERTION URI value, convert to the appropriate licenseCollection<AnyLicenseInfo>
SpdxItem. getLicenseInfoFromFiles()
Methods in org.spdx.library.model.v2 with parameters of type AnyLicenseInfo Modifier and Type Method Description SpdxPackage.SpdxPackageBuilder
SpdxPackage.SpdxPackageBuilder. addLicenseInfosFromFile(AnyLicenseInfo licenseInfo)
SpdxPackage.SpdxPackageBuilder
ModelObjectV2. createPackage(String id, String name, AnyLicenseInfo concludedLicense, String copyrightText, AnyLicenseInfo licenseDeclared)
Create an SpdxPackageBuilder with all required fields for a filesAnalyzed=false using this objects model store and document URISpdxFile.SpdxFileBuilder
ModelObjectV2. createSpdxFile(String id, String name, AnyLicenseInfo concludedLicense, Collection<AnyLicenseInfo> seenLicense, String copyrightText, Checksum sha1)
Create an SpdxFileBuilder with all of the required properties - the build() method will build the fileSpdxSnippet.SpdxSnippetBuilder
ModelObjectV2. createSpdxSnippet(String id, String name, AnyLicenseInfo concludedLicense, Collection<AnyLicenseInfo> seenLicense, String copyrightText, SpdxFile snippetFromFile, int startByte, int endByte)
Create an SpdxSnippetBuilder with all of the required properties - the build() method will build the filevoid
SpdxDocument. setDataLicense(AnyLicenseInfo dataLicense)
SpdxFile
SpdxFile. setLicenseConcluded(AnyLicenseInfo license)
SpdxItem
SpdxItem. setLicenseConcluded(AnyLicenseInfo license)
Set the licenseConcludedSpdxPackage
SpdxPackage. setLicenseDeclared(AnyLicenseInfo licenseDeclared)
Set the licenseDeclaredMethod parameters in org.spdx.library.model.v2 with type arguments of type AnyLicenseInfo Modifier and Type Method Description ConjunctiveLicenseSet
ModelObjectV2. createConjunctiveLicenseSet(Collection<AnyLicenseInfo> members)
DisjunctiveLicenseSet
ModelObjectV2. createDisjunctiveLicenseSet(Collection<AnyLicenseInfo> members)
SpdxFile.SpdxFileBuilder
ModelObjectV2. createSpdxFile(String id, String name, AnyLicenseInfo concludedLicense, Collection<AnyLicenseInfo> seenLicense, String copyrightText, Checksum sha1)
Create an SpdxFileBuilder with all of the required properties - the build() method will build the fileSpdxSnippet.SpdxSnippetBuilder
ModelObjectV2. createSpdxSnippet(String id, String name, AnyLicenseInfo concludedLicense, Collection<AnyLicenseInfo> seenLicense, String copyrightText, SpdxFile snippetFromFile, int startByte, int endByte)
Create an SpdxSnippetBuilder with all of the required properties - the build() method will build the fileSpdxPackage.SpdxPackageBuilder
SpdxPackage.SpdxPackageBuilder. setLicenseInfosFromFile(Collection<AnyLicenseInfo> licenseInfosFromFile)
Constructors in org.spdx.library.model.v2 with parameters of type AnyLicenseInfo Constructor Description SpdxFileBuilder(org.spdx.storage.IModelStore modelStore, String documentUri, String id, org.spdx.core.IModelCopyManager copyManager, String name, AnyLicenseInfo concludedLicense, Collection<AnyLicenseInfo> licenseInfosFromFile, String copyrightText, Checksum sha1)
Build a file with the required parametersSpdxPackageBuilder(org.spdx.storage.IModelStore modelStore, String documentUri, String id, org.spdx.core.IModelCopyManager copyManager, String name, AnyLicenseInfo concludedLicense, String copyrightText, AnyLicenseInfo licenseDeclared)
Build an SpdxPackage with the required parameters if isFilesAnalyzed is false - note isFilesAnalyzed must be explicitly set to falseSpdxSnippetBuilder(org.spdx.storage.IModelStore modelStore, String documentUri, String id, org.spdx.core.IModelCopyManager copyManager, String name, AnyLicenseInfo concludedLicense, Collection<AnyLicenseInfo> licenseInfosFromFile, String copyrightText, SpdxFile snippetFromFile, int startByte, int endByte)
Build a snippet with the required parametersConstructor parameters in org.spdx.library.model.v2 with type arguments of type AnyLicenseInfo Constructor Description SpdxFileBuilder(org.spdx.storage.IModelStore modelStore, String documentUri, String id, org.spdx.core.IModelCopyManager copyManager, String name, AnyLicenseInfo concludedLicense, Collection<AnyLicenseInfo> licenseInfosFromFile, String copyrightText, Checksum sha1)
Build a file with the required parametersSpdxSnippetBuilder(org.spdx.storage.IModelStore modelStore, String documentUri, String id, org.spdx.core.IModelCopyManager copyManager, String name, AnyLicenseInfo concludedLicense, Collection<AnyLicenseInfo> licenseInfosFromFile, String copyrightText, SpdxFile snippetFromFile, int startByte, int endByte)
Build a snippet with the required parameters -
Uses of AnyLicenseInfo in org.spdx.library.model.v2.license
Subclasses of AnyLicenseInfo in org.spdx.library.model.v2.license Modifier and Type Class Description class
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.class
ConjunctiveLicenseSet
A set of licenses where all of the licenses applyclass
DisjunctiveLicenseSet
A set of licenses where there is a choice of one of the licenses in the setclass
ExternalExtractedLicenseInfo
This class represents an ExtractedLicenseInfo which is stored in an external SPDX document.class
ExtractedLicenseInfo
An ExtractedLicensingInfo represents a license or licensing notice that was found in the package.class
License
Describes a license All licenses have an ID.class
LicenseSet
A specific form of license information where there is a set of licenses representedclass
OrLaterOperator
A license that has an or later operator (e.g.class
SimpleLicensingInfo
The SimpleLicenseInfo class includes all resources that represent simple, atomic, licensing information.class
SpdxListedLicense
Listed license for SPDX as listed at spdx.org/licensesclass
SpdxNoAssertionLicense
Special class of license to represent no asserted license license in the file or packagesclass
SpdxNoneLicense
A special license meaning that no license was foundclass
WithExceptionOperator
A license that has a With exception operator (e.g.Methods in org.spdx.library.model.v2.license that return AnyLicenseInfo Modifier and Type Method Description AnyLicenseInfo
WithExceptionOperator. getLicense()
Methods in org.spdx.library.model.v2.license that return types with arguments of type AnyLicenseInfo Modifier and Type Method Description List<AnyLicenseInfo>
ConjunctiveLicenseSet. getFlattenedMembers()
Conjunctive license sets can contain other conjunctive license sets as members.protected List<AnyLicenseInfo>
DisjunctiveLicenseSet. getFlattenedMembers()
Disjunctive license sets can contain other conjunctive license sets as members.Collection<AnyLicenseInfo>
LicenseSet. getMembers()
Methods in org.spdx.library.model.v2.license with parameters of type AnyLicenseInfo Modifier and Type Method Description void
LicenseSet. addMember(AnyLicenseInfo member)
Adds a member to the setvoid
LicenseSet. removeMember(AnyLicenseInfo member)
void
WithExceptionOperator. setLicense(AnyLicenseInfo license)
Method parameters in org.spdx.library.model.v2.license with type arguments of type AnyLicenseInfo Modifier and Type Method Description void
LicenseSet. setMembers(Collection<AnyLicenseInfo> licenseInfos)
Sets the members of the license set.Constructors in org.spdx.library.model.v2.license with parameters of type AnyLicenseInfo Constructor Description WithExceptionOperator(AnyLicenseInfo license, LicenseException exception)
-