Class Config
java.lang.Object
io.github.jeremylong.openvulnerability.client.nvd.Config
- All Implemented Interfaces:
Serializable
Represents a configuration node from the NVD CVE API containing logical operators and nodes.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumLogical operators for configuration nodes. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @Nullable Boolean(Required)private @Nullable Config.Operatorprivate static final longSerialization version UID. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
operator
-
negate
-
nodes
(Required)
-
-
Constructor Details
-
Config
Constructor taking only the required set of JSON properties as the minimal constructor for a Config.- Parameters:
nodes- The nodes for the Config (required JSON property)
-
Config
Full constructor for Config.- Parameters:
operator- the logical operator (AND/OR)negate- whether to negate the configurationnodes- the list of configuration nodes
-
-
Method Details