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 TypeMethodDescriptionint
int
int
int
getName()
void
logInfo()
void
setByteRange
(String byteRange) void
setComment
(String comment) void
setConcludedLicense
(String concludedLicense) void
setCopyrightText
(String copyrightText) void
setLicenseComment
(String licenseComment) void
setLicenseInfoInSnippet
(String licenseInfoInSnippet) void
setLineRange
(String lineRange) void
-
Constructor Details
-
SnippetInfo
public SnippetInfo()
-
-
Method Details
-
logInfo
public void logInfo() -
getName
-
getComment
-
getLicenseConcluded
-
getCopyrightText
-
getLicensComment
-
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
-