| Package | Description |
|---|---|
| org.spdx.compare | |
| org.spdx.html | |
| org.spdx.rdfparser.model |
Model for the SPDX 2.0+ specification.
|
| org.spdx.spdxspreadsheet |
| Modifier and Type | Method and Description |
|---|---|
static Annotation[] |
SpdxComparer.findUniqueAnnotations(Annotation[] annotationsA,
Annotation[] annotationsB)
Find any SPDX annotations which are in annotationsA but not in annotationsB
|
Annotation[] |
SpdxItemComparer.getUniqueAnnotations(SpdxDocument docA,
SpdxDocument docB)
Get annotations that are in docA but not in docB
|
Annotation[] |
SpdxItemDifference.getUniqueAnnotationsA() |
Annotation[] |
SpdxItemDifference.getUniqueAnnotationsB() |
Annotation[] |
SpdxComparer.getUniqueDocumentAnnotations(int docindex1,
int docindex2)
Return any document annotations which are in spdx document index 1 but not in spdx document index 2
|
| Modifier and Type | Method and Description |
|---|---|
static String |
CompareHelper.annotationsToString(Annotation[] annotations) |
static String |
CompareHelper.annotationToString(Annotation annotation) |
static Annotation[] |
SpdxComparer.findUniqueAnnotations(Annotation[] annotationsA,
Annotation[] annotationsB)
Find any SPDX annotations which are in annotationsA but not in annotationsB
|
static Annotation[] |
SpdxComparer.findUniqueAnnotations(Annotation[] annotationsA,
Annotation[] annotationsB)
Find any SPDX annotations which are in annotationsA but not in annotationsB
|
| Constructor and Description |
|---|
SpdxFileDifference(SpdxFile fileA,
SpdxFile fileB,
boolean concludedLicensesEqual,
boolean seenLicensesEqual,
AnyLicenseInfo[] uniqueSeenLicensesA,
AnyLicenseInfo[] uniqueSeenLicensesB,
boolean artifactOfsEquals,
DoapProject[] uniqueArtifactOfA2,
DoapProject[] uniqueArtifactOfB2,
boolean checksumsEquals,
Checksum[] uniqueChecksumsA,
Checksum[] uniqueChecksumsB,
boolean relationshipsEquals,
Relationship[] uniqueRelationshipA,
Relationship[] uniqueRelationshipB,
boolean annotationsEquals,
Annotation[] uniqueAnnotationsA,
Annotation[] uniqueAnnotationsB) |
SpdxFileDifference(SpdxFile fileA,
SpdxFile fileB,
boolean concludedLicensesEqual,
boolean seenLicensesEqual,
AnyLicenseInfo[] uniqueSeenLicensesA,
AnyLicenseInfo[] uniqueSeenLicensesB,
boolean artifactOfsEquals,
DoapProject[] uniqueArtifactOfA2,
DoapProject[] uniqueArtifactOfB2,
boolean checksumsEquals,
Checksum[] uniqueChecksumsA,
Checksum[] uniqueChecksumsB,
boolean relationshipsEquals,
Relationship[] uniqueRelationshipA,
Relationship[] uniqueRelationshipB,
boolean annotationsEquals,
Annotation[] uniqueAnnotationsA,
Annotation[] uniqueAnnotationsB) |
SpdxItemDifference(SpdxItem itemA,
SpdxItem itemB,
boolean concludedLicensesEqual,
boolean seenLicensesEqual,
AnyLicenseInfo[] uniqueSeenLicensesA,
AnyLicenseInfo[] uniqueSeenLicensesB,
boolean relationshipsEquals,
Relationship[] uniqueRelationshipA,
Relationship[] uniqueRelationshipB,
boolean annotationsEquals,
Annotation[] uniqueAnnotationsA,
Annotation[] uniqueAnnotationsB) |
SpdxItemDifference(SpdxItem itemA,
SpdxItem itemB,
boolean concludedLicensesEqual,
boolean seenLicensesEqual,
AnyLicenseInfo[] uniqueSeenLicensesA,
AnyLicenseInfo[] uniqueSeenLicensesB,
boolean relationshipsEquals,
Relationship[] uniqueRelationshipA,
Relationship[] uniqueRelationshipB,
boolean annotationsEquals,
Annotation[] uniqueAnnotationsA,
Annotation[] uniqueAnnotationsB) |
| Constructor and Description |
|---|
AnnotationContext(Annotation annotation) |
| Modifier and Type | Field and Description |
|---|---|
protected Annotation[] |
SpdxElement.annotations |
| Modifier and Type | Method and Description |
|---|---|
Annotation |
Annotation.clone() |
protected Annotation[] |
SpdxElement.cloneAnnotations() |
protected Annotation[] |
RdfModelObject.findAnnotationPropertyValues(String nameSpace,
String propertyName)
Find all annotations with a subject of this object
|
Annotation[] |
SpdxElement.getAnnotations() |
| Modifier and Type | Method and Description |
|---|---|
void |
SpdxElement.addAnnotation(Annotation annotation) |
protected void |
RdfModelObject.addPropertyValue(String nameSpace,
String propertyName,
Annotation annotation) |
int |
Annotation.compareTo(Annotation o) |
void |
SpdxElement.setAnnotations(Annotation[] annotations) |
protected void |
RdfModelObject.setPropertyValues(String nameSpace,
String propertyName,
Annotation[] annotations) |
| Constructor and Description |
|---|
SpdxElement(String name,
String comment,
Annotation[] annotations,
Relationship[] relationships) |
SpdxFile(String name,
String comment,
Annotation[] annotations,
Relationship[] relationships,
AnyLicenseInfo licenseConcluded,
AnyLicenseInfo[] licenseInfoInFile,
String copyrightText,
String licenseComment,
SpdxFile.FileType[] fileTypes,
Checksum[] checksums,
String[] fileContributors,
String noticeText,
DoapProject[] artifactOf) |
SpdxItem(String name,
String comment,
Annotation[] annotations,
Relationship[] relationships,
AnyLicenseInfo licenseConcluded,
AnyLicenseInfo[] licenseInfoFromFiles,
String copyrightText,
String licenseComment) |
SpdxPackage(String name,
String comment,
Annotation[] annotations,
Relationship[] relationships,
AnyLicenseInfo licenseConcluded,
AnyLicenseInfo[] licenseInfosFromFiles,
String copyrightText,
String licenseComment,
AnyLicenseInfo licenseDeclared,
Checksum[] checksums,
String description,
String downloadLocation,
SpdxFile[] files,
String homepage,
String originator,
String packageFileName,
SpdxPackageVerificationCode packageVerificationCode,
String sourceInfo,
String summary,
String supplier,
String versionInfo) |
SpdxPackage(String name,
String comment,
Annotation[] annotations,
Relationship[] relationships,
AnyLicenseInfo licenseConcluded,
AnyLicenseInfo[] licenseInfosFromFiles,
String copyrightText,
String licenseComment,
AnyLicenseInfo licenseDeclared,
Checksum[] checksums,
String description,
String downloadLocation,
SpdxFile[] files,
String homepage,
String originator,
String packageFileName,
SpdxPackageVerificationCode packageVerificationCode,
String sourceInfo,
String summary,
String supplier,
String versionInfo,
boolean filesAnalyzed,
ExternalRef[] externalRefs) |
SpdxSnippet(String name,
String comment,
Annotation[] annotations,
Relationship[] relationships,
AnyLicenseInfo licenseConcluded,
AnyLicenseInfo[] licenseInfoInFile,
String copyrightText,
String licenseComment,
SpdxFile snippetFromFile,
StartEndPointer byteRange,
StartEndPointer lineRange) |
| Modifier and Type | Method and Description |
|---|---|
Annotation |
AnnotationsSheet.getAnnotation(int rowNum) |
| Modifier and Type | Method and Description |
|---|---|
void |
AnnotationsSheet.add(Annotation annotation,
String elementId) |
Copyright © 2017 Linux Foundation. All Rights Reserved.