Package org.spdx.maven
Class SnippetInfo
java.lang.Object
org.spdx.maven.SnippetInfo
Simple class to hold information about snippets
- Author:
- Gary O'Neall
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintDeprecated.intintgetName()voidlogInfo()voidsetByteRange(String byteRange) voidsetComment(String comment) voidsetConcludedLicense(String concludedLicense) voidsetCopyrightText(String copyrightText) voidsetLicenseComment(String licenseComment) voidsetLicenseInfoInSnippet(String licenseInfoInSnippet) voidsetLineRange(String lineRange) void
-
Constructor Details
-
SnippetInfo
public SnippetInfo()
-
-
Method Details
-
logInfo
public void logInfo() -
getName
-
getComment
-
getLicenseConcluded
-
getCopyrightText
-
getLicensComment
Deprecated.UsegetLicenseComment()instead.- Returns:
- the licenseComment
-
getByteRangeStart
- Throws:
SpdxBuilderException
-
getByteRangeEnd
- Throws:
SpdxBuilderException
-
getLineRangeStart
- Throws:
SpdxBuilderException
-
getLineRangeEnd
- Throws:
SpdxBuilderException
-
getConcludedLicense
- Returns:
- the concludedLicense
-
setConcludedLicense
- Parameters:
concludedLicense- the concludedLicense to set
-
getLicenseComment
- Returns:
- the licenseComment
-
setLicenseComment
- Parameters:
licenseComment- the licenseComment to set
-
getLicenseInfoInSnippet
- Returns:
- the licenseInfoInSnippet
-
setLicenseInfoInSnippet
- Parameters:
licenseInfoInSnippet- the licenseInfoInSnippet to set
-
setName
- Parameters:
name- the name to set
-
setComment
- Parameters:
comment- the comment to set
-
setLineRange
- Parameters:
lineRange- the lineRange to set
-
setByteRange
- Parameters:
byteRange- the byteRange to set
-
setCopyrightText
- Parameters:
copyrightText- the copyrightText to set
-
getLicenseComment()instead.