public class ListedLicenseException extends LicenseException
| Constructor and Description |
|---|
ListedLicenseException(IModelContainer modelContainer,
org.apache.jena.graph.Node node) |
ListedLicenseException(String exceptionId) |
ListedLicenseException(String licenseExceptionId,
String name,
String licenseExceptionText) |
ListedLicenseException(String licenseExceptionId,
String name,
String licenseExceptionText,
String[] seeAlso,
String comment) |
ListedLicenseException(String licenseExceptionId,
String name,
String licenseExceptionText,
String licenseExceptionTemplate,
String[] seeAlso,
String comment) |
ListedLicenseException(String licenseExceptionId,
String name,
String licenseExceptionText,
String licenseExceptionTemplate,
String[] seeAlso,
String comment,
String exceptionTextHtml,
boolean isDeprecated,
String deprecatedVersion) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDeprecatedVersion() |
String |
getExceptionTextHtml() |
void |
setDeprecatedVersion(String deprecatedVersion) |
void |
setExceptionTextHtml(String exceptionTextHtml) |
clone, createResource, equals, equivalent, findException, getComment, getExample, getExceptionTextFromModel, getLicenseExceptionId, getLicenseExceptionTemplate, getLicenseExceptionText, getName, getSeeAlso, hashCode, isDeprecated, setComment, setDeprecated, setExample, setLicenseExceptionId, setLicenseExceptionTemplate, setLicenseExceptionText, setMultipleObjectsForSameNode, setName, setSeeAlso, setSingleObjectForSameNode, toString, verifypublic ListedLicenseException(IModelContainer modelContainer, org.apache.jena.graph.Node node) throws InvalidSPDXAnalysisException
modelContainer - node - InvalidSPDXAnalysisExceptionpublic ListedLicenseException(String licenseExceptionId, String name, String licenseExceptionText, String[] seeAlso, String comment)
licenseExceptionId - name - licenseExceptionText - seeAlso - comment - public ListedLicenseException(String licenseExceptionId, String name, String licenseExceptionText, String licenseExceptionTemplate, String[] seeAlso, String comment, String exceptionTextHtml, boolean isDeprecated, String deprecatedVersion)
licenseExceptionId - Exception ID - short form IDname - Full name of the ExceptionlicenseExceptionText - Text for the ExceptionlicenseExceptionTemplate - License exception template use for matching license exceptions per SPDX license matching guidelinescomment - Comments on the exceptionseeAlso - URL references to external sources for the exceptionexceptionTextHtml - isDeprecated - deprecatedVersion - public ListedLicenseException(String licenseExceptionId, String name, String licenseExceptionText, String licenseExceptionTemplate, String[] seeAlso, String comment)
licenseExceptionId - Exception ID - short form IDname - Full name of the ExceptionlicenseExceptionText - Text for the ExceptionlicenseExceptionTemplate - License exception template use for matching license exceptions per SPDX license matching guidelinesseeAlso - URL references to external sources for the exceptioncomment - Comments on the exceptionpublic ListedLicenseException(String licenseExceptionId, String name, String licenseExceptionText)
licenseExceptionId - Exception ID - short form IDname - Full name of the ExceptionlicenseExceptionText - Text for the Exceptionpublic ListedLicenseException(String exceptionId)
exceptionId - public String getDeprecatedVersion()
public void setDeprecatedVersion(String deprecatedVersion)
deprecatedVersion - the deprecatedVersion to setpublic String getExceptionTextHtml() throws InvalidLicenseTemplateException
InvalidLicenseTemplateExceptionpublic void setExceptionTextHtml(String exceptionTextHtml)
exceptionTextHtml - the exceptionTextHtml to setCopyright © 2018 Linux Foundation. All Rights Reserved.