Requirement

interface Requirement

Represents a requirement that the CSAF standard defines in https://docs.oasis-open.org/csaf/csaf/v2.0/os/csaf-v2.0-os.html#71-requirements. Since requirements are often re-used across different Roles, there are some helper functions to combine requirements, such as oneOf, allOf or or.

Inheritors

Functions

Link copied to clipboard
abstract fun check(ctx: RetrievalContext): <Error class: unknown class>
Link copied to clipboard

Creates a new Requirement that specifies that either this or the other requirement must be fulfilled.

Link copied to clipboard
operator fun Requirement.plus(other: Requirement): Requirement

Creates a new Requirement that specifies that this this and the other requirement must be fulfilled.