PropertyProvider

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.

The property is (usually) extracted out of a ProductWithBranches in the provideProperty method.

Inheritors

Functions

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
abstract fun provideProperty(cpe: Cpe): T?
abstract fun provideProperty(vulnerable: ProductWithBranches): T?
abstract fun provideProperty(purl: Purl): T?
abstract fun provideProperty(node: Node): T?