CpeProperty

class CpeProperty(value: Cpe) : Property<Cpe>

A property that represents a CPE value.

The confidence of a match (see confidenceMatching) is determined by comparing the CPE values.

We do not need to consider different sources, as a CpeProperty can only come from PropertySource.CPE.

Constructors

Link copied to clipboard
constructor(value: Cpe)

Properties

Link copied to clipboard
Link copied to clipboard
val value: Cpe

Functions

Link copied to clipboard

This method is used to compare the property with another property of the same type. Instead of a Boolean it must return a MatchingConfidence that expresses how confident the match is.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String