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()voidlogInfo()Log information on all fields - typically used for debuggingvoidsetChecksums(Set<Checksum> checksums) voidsetConcludedLicense(String concludedLicense) voidsetCopyrightText(String copyrightText) voidsetCreated(String created) voidsetCreatorComment(String creatorComment) voidsetCreators(String[] creators) voidsetDeclaredLicense(String declaredLicense) voidsetDescription(String description) voidsetDocumentAnnotations(Annotation[] documentAnnotations) voidsetDocumentComment(String documentComment) voidsetDownloadUrl(String downloadUrl) voidsetExternalRefs(ExternalReference[] externalReferences) voidsetHomePage(String homePage) voidsetLicenseComment(String licenseComment) voidvoidsetOriginator(String originator) voidsetPackageAnnotations(Annotation[] packageAnnotations) voidsetPackageArchiveFileName(String packageArchiveFileName) voidsetPackaging(Packaging packaging) voidsetShortDescription(String shortDescription) voidsetSourceInfo(String sourceInformation) voidsetSupplier(String supplier) voidsetVersionInfo(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
-
setCreated
-
getCreated
-