Package org.spdx.maven.utils
Class SpdxProjectInformation
java.lang.Object
org.spdx.maven.utils.SpdxProjectInformation
Simple structure to hold information about SPDX project
- Author:
- Gary O'Neall
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
getName()
void
logInfo()
Log information on all fields - typically used for debuggingvoid
setChecksums
(Set<Checksum> checksums) void
setConcludedLicense
(String concludedLicense) void
setCopyrightText
(String copyrightText) void
setCreatorComment
(String creatorComment) void
setCreators
(String[] creators) void
setDeclaredLicense
(String declaredLicense) void
setDescription
(String description) void
setDocumentAnnotations
(Annotation[] documentAnnotations) void
setDocumentComment
(String documentComment) void
setDownloadUrl
(String downloadUrl) void
setExternalRefs
(ExternalReference[] externalReferences) void
setHomePage
(String homePage) void
setLicenseComment
(String licenseComment) void
void
setOriginator
(String originator) void
setPackageAnnotations
(Annotation[] packageAnnotations) void
setPackageArchiveFileName
(String packageArchiveFileName) void
setPackaging
(Packaging packaging) void
setShortDescription
(String shortDescription) void
setSourceInfo
(String sourceInformation) void
setSupplier
(String supplier) void
setVersionInfo
(String versionInfo)
-
Constructor Details
-
SpdxProjectInformation
public SpdxProjectInformation()
-
-
Method Details
-
getPackaging
- Returns:
- the packaging
-
setPackaging
- Parameters:
packaging
- the packaging to set
-
getDocumentComment
- Returns:
- the documentComment
-
setDocumentComment
- Parameters:
documentComment
- the documentComment to set
-
getChecksums
- Returns:
- checksums for the project
-
setChecksums
- Parameters:
checksums
- the checksums to set for the project
-
getConcludedLicense
- Returns:
- the concludedLicense
-
setConcludedLicense
- Parameters:
concludedLicense
- the concludedLicense to set
-
getDeclaredLicense
- Returns:
- the declaredLicense
-
setDeclaredLicense
- Parameters:
declaredLicense
- the declaredLicense to set
-
getDescription
- Returns:
- the description
-
setDescription
- Parameters:
description
- the description to set
-
getDownloadUrl
- Returns:
- the downloadUrl
-
setDownloadUrl
- Parameters:
downloadUrl
- the downloadUrl to set
-
getHomePage
- Returns:
- the homePage
-
setHomePage
- Parameters:
homePage
- the homePage to set
-
getShortDescription
- Returns:
- the shortDescription
-
setShortDescription
- Parameters:
shortDescription
- the shortDescription to set
-
getOriginator
- Returns:
- the originator
-
setOriginator
- Parameters:
originator
- the originator to set
-
getSupplier
- Returns:
- the supplier
-
setSupplier
- Parameters:
supplier
- the supplier to set
-
getPackageArchiveFileName
- Returns:
- the packageArchiveFileName
-
setPackageArchiveFileName
- Parameters:
packageArchiveFileName
- the packageArchiveFileName to set
-
getVersionInfo
- Returns:
- the versionInfo
-
setVersionInfo
- Parameters:
versionInfo
- the versionInfo to set
-
getLicenseComment
- Returns:
- the licenseComment
-
setLicenseComment
- Parameters:
licenseComment
- the licenseComment to set
-
getCreators
- Returns:
- the creators
-
setCreators
- Parameters:
creators
- the creators to set
-
getCreatorComment
- Returns:
- the creatorComment
-
setCreatorComment
- Parameters:
creatorComment
- the creatorComment to set
-
getName
-
setName
-
logInfo
public void logInfo()Log information on all fields - typically used for debugging -
getSourceInfo
-
setSourceInfo
-
setCopyrightText
-
getCopyrightText
-
setPackageAnnotations
-
getPackageAnnotations
-
setDocumentAnnotations
-
getDocumentAnnotations
-
setExternalRefs
-
getExternalRefs
-