Package-level declarations

Types

Link copied to clipboard
class CpeProperty(value: Cpe) : Property<Cpe>

A property that represents a CPE value.

Link copied to clipboard

The CpePropertyProvider is a PropertyProvider that provides the CPE of a product as a CpeProperty.

Link copied to clipboard

A property that presents a product name.

Link copied to clipboard
sealed class ProductVersion
Link copied to clipboard

A property that represents a product version.

Link copied to clipboard
abstract class Property<T : Any>(val value: T, val source: PropertySource)

This interface is used to provide a property one can "match" against. This can be for example something string-based (such as name) or others structures like a software identifier.

Link copied to clipboard
interface PropertyProvider<T : Property<*>>

This interface is used to provide a property one can "match" against. This can be for example a name or a version.

Link copied to clipboard
Link copied to clipboard
class PurlProperty(value: Purl) : Property<Purl>

A property that represents a PURL value.

Link copied to clipboard

The PurlPropertyProvider is a PropertyProvider that provides the CPE of a product as a PurlProperty.

Link copied to clipboard

A property that represents a string value.

Link copied to clipboard

A property that presents a vendor.

Link copied to clipboard

Properties

Link copied to clipboard
val dashUnderscoreRegex: <Error class: unknown class>

Functions

Link copied to clipboard

Matches PURLs with confidence.

Link copied to clipboard

This extension function is used to gather all properties from a PropertyProvider for a Node (component).

Link copied to clipboard

This extension function is used to gather all properties from a PropertyProvider for a ProductWithBranches.

Link copied to clipboard

A little helper extension to convert a Vers to a ProductVersionProperty (using ProductVersion.Range).

Link copied to clipboard

A little helper extension to convert a string to a ProductVersion.Fixed.

Link copied to clipboard

A little helper extension to convert a Cpe to a CpeProperty.

A little helper extension to convert a Purl to a PurlProperty.

A little helper extension to convert a ProductVersion to a ProductVersionProperty.

A little helper extension to convert a nullable string to a StringProperty.