public class LicenseExceptionJSONFile extends Object
| Constructor and Description |
|---|
LicenseExceptionJSONFile()
Create a license JSON file with no license initialized
|
LicenseExceptionJSONFile(LicenseException exception,
boolean deprecated) |
| Modifier and Type | Method and Description |
|---|---|
void |
setDeprecated(boolean deprecated) |
void |
setException(LicenseException exception,
boolean deprecated) |
void |
writeToFile(File jsonFile) |
public 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 deprecatedpublic void writeToFile(File jsonFile) throws IOException
jsonFile - File to write JSON data toIOExceptionCopyright © 2016 Linux Foundation. All Rights Reserved.