class

CycloneDX::Pedigree

Inherits JSON::Serializable / Reference / Object

Constructors

new(notes : String | Nil = nil, commits : Array(Commit) | Nil = nil, patches : Array(Patch) | Nil = nil, ancestors : Array(Component) | Nil = nil, descendants : Array(Component) | Nil = nil, variants : Array(Component) | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

ancestors

ancestors, descendants and variants are arrays of full components. Describing where a component came from is the whole point of pedigree, so without them the type could not express its own purpose.

Source
commits
Source
descendants
Source
notes
Source
patches
Source
to_xml(xml : XML::Builder)
Source
variants
Source