◆ dumpJSON()
void ppt4j.database.VulnerabilityInfo.dumpJSON |
( |
String | path | ) |
throws IOException |
Writes the JSON representation of the current object to a file specified by the given path.
- Parameters
-
path | the path of the file where the JSON representation will be written |
- Exceptions
-
IOException | if an I/O error occurs when writing the JSON representation to the file |
◆ fromJSON()
static VulnerabilityInfo ppt4j.database.VulnerabilityInfo.fromJSON |
( |
InputStream | stream | ) |
throws IOException |
|
static |
Creates a VulnerabilityInfo object by parsing JSON data from the InputStream.
- Parameters
-
stream | the InputStream containing the JSON data |
- Returns
- a VulnerabilityInfo object created from the JSON data
- Exceptions
-
IOException | if an I/O error occurs while reading the input stream |
◆ isEmpty()
boolean ppt4j.database.VulnerabilityInfo.isEmpty |
( |
| ) |
|
Checks if all non-nullable fields in the current object are empty (null or empty string). Non-nullable fields are determined by the absence of the Nullable annotation.
- Returns
- true if all non-nullable fields are empty, false otherwise
◆ build_system
String ppt4j.database.VulnerabilityInfo.build_system |
◆ cve_id
String ppt4j.database.VulnerabilityInfo.cve_id |
◆ fixing_commit_hash
String ppt4j.database.VulnerabilityInfo.fixing_commit_hash |
◆ human_patch_url
String ppt4j.database.VulnerabilityInfo.human_patch_url |
◆ project
String ppt4j.database.VulnerabilityInfo.project |
◆ project_url
String ppt4j.database.VulnerabilityInfo.project_url |
◆ should_scan_all_modules
boolean ppt4j.database.VulnerabilityInfo.should_scan_all_modules |
◆ src_classes_dir
String ppt4j.database.VulnerabilityInfo.src_classes_dir |
◆ src_top_level_dir
String ppt4j.database.VulnerabilityInfo.src_top_level_dir |
◆ third_party_lib_dirs
String [] ppt4j.database.VulnerabilityInfo.third_party_lib_dirs |
◆ third_party_src_dirs
String [] ppt4j.database.VulnerabilityInfo.third_party_src_dirs |
◆ vul_id
String ppt4j.database.VulnerabilityInfo.vul_id |
The documentation for this class was generated from the following file: