public class LicenseExceptionJSONFile extends AbstractJsonFile
| Constructor and Description |
|---|
LicenseExceptionJSONFile()
Create a license JSON file with no license initialized
|
LicenseExceptionJSONFile(LicenseException exception,
boolean deprecated) |
| Modifier and Type | Method and Description |
|---|---|
protected org.json.simple.JSONObject |
getJsonObject() |
void |
setDeprecated(boolean deprecated) |
void |
setException(LicenseException exception,
boolean deprecated) |
writeToFilepublic LicenseExceptionJSONFile()
public LicenseExceptionJSONFile(LicenseException exception, boolean deprecated)
public void setException(LicenseException exception, boolean deprecated)
license - deprecated - True if the license ID is deprecatedpublic void setDeprecated(boolean deprecated)
deprecated - True if the license ID is deprecatedprotected org.json.simple.JSONObject getJsonObject()
getJsonObject in class AbstractJsonFileCopyright © 2017 Linux Foundation. All Rights Reserved.