Class SnippetInfo

java.lang.Object
org.spdx.maven.SnippetInfo

public class SnippetInfo extends Object
Simple class to hold information about snippets
Author:
Gary O'Neall
  • Constructor Details

    • SnippetInfo

      public SnippetInfo()
  • Method Details

    • logInfo

      public void logInfo()
    • getName

      public String getName()
    • getComment

      public String getComment()
    • getLicenseConcluded

      public String getLicenseConcluded()
    • getCopyrightText

      public String getCopyrightText()
    • getLicensComment

      public String getLicensComment()
    • getByteRangeStart

      public int getByteRangeStart() throws SpdxBuilderException
      Throws:
      SpdxBuilderException
    • getByteRangeEnd

      public int getByteRangeEnd() throws SpdxBuilderException
      Throws:
      SpdxBuilderException
    • getLineRangeStart

      public int getLineRangeStart() throws SpdxBuilderException
      Throws:
      SpdxBuilderException
    • getLineRangeEnd

      public int getLineRangeEnd() throws SpdxBuilderException
      Throws:
      SpdxBuilderException
    • getConcludedLicense

      public String getConcludedLicense()
      Returns:
      the concludedLicense
    • setConcludedLicense

      public void setConcludedLicense(String concludedLicense)
      Parameters:
      concludedLicense - the concludedLicense to set
    • getLicenseComment

      public String getLicenseComment()
      Returns:
      the licenseComment
    • setLicenseComment

      public void setLicenseComment(String licenseComment)
      Parameters:
      licenseComment - the licenseComment to set
    • getLicenseInfoInSnippet

      public String getLicenseInfoInSnippet()
      Returns:
      the licenseInfoInSnippet
    • setLicenseInfoInSnippet

      public void setLicenseInfoInSnippet(String licenseInfoInSnippet)
      Parameters:
      licenseInfoInSnippet - the licenseInfoInSnippet to set
    • setName

      public void setName(String name)
      Parameters:
      name - the name to set
    • setComment

      public void setComment(String comment)
      Parameters:
      comment - the comment to set
    • setLineRange

      public void setLineRange(String lineRange)
      Parameters:
      lineRange - the lineRange to set
    • setByteRange

      public void setByteRange(String byteRange)
      Parameters:
      byteRange - the byteRange to set
    • setCopyrightText

      public void setCopyrightText(String copyrightText)
      Parameters:
      copyrightText - the copyrightText to set