Package-level declarations

Types

Link copied to clipboard
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.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun allOf(vararg requirements: Requirement): Requirement

Creates a new Requirement that specifies that all the requirements in requirements must be fulfilled.

Link copied to clipboard

Creates a new Requirement that specifies that no requirements need to be fulfilled.

Link copied to clipboard
fun oneOf(vararg requirements: Requirement): Requirement

Creates a new Requirement that specifies that one the requirements in requirements must be fulfilled.

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.