Class Node
- java.lang.Object
-
- io.github.jeremylong.openvulnerability.client.nvd.Node
-
- All Implemented Interfaces:
java.io.Serializable
@NullMarked public class Node extends java.lang.Object implements java.io.SerializableDefines a configuration node in an NVD applicability statement.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNode.Operator
-
Constructor Summary
Constructors Constructor Description Node(Node.Operator operator, @Nullable java.lang.Boolean negate, java.util.List<CpeMatch> cpeMatch)Node(Node.Operator operator, java.util.List<CpeMatch> cpeMatch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.util.List<CpeMatch>getCpeMatch()(Required)@Nullable java.lang.BooleangetNegate()Node.OperatorgetOperator()(Required)inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
Node
public Node(Node.Operator operator, java.util.List<CpeMatch> cpeMatch)
-
Node
public Node(Node.Operator operator, @Nullable java.lang.Boolean negate, java.util.List<CpeMatch> cpeMatch)
-
-
Method Detail
-
getOperator
public Node.Operator getOperator()
(Required)- Returns:
- operator
-
getNegate
public @Nullable java.lang.Boolean getNegate()
- Returns:
- negate
-
getCpeMatch
public java.util.List<CpeMatch> getCpeMatch()
(Required)- Returns:
- cpeMatch
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-