class
CycloneDX::Pedigree
- CycloneDX::Pedigree
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
cyclonedx/pedigree.crConstructors
- .new(pull : JSON::PullParser)
- .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)
Instance Method Summary
-
#ancestors : Array(Component) | Nil
#ancestors,#descendantsand#variantsare arrays of full components. - #commits : Array(Commit) | Nil
- #descendants : Array(Component) | Nil
- #notes : String | Nil
- #patches : Array(Patch) | Nil
- #to_xml(xml : XML::Builder)
- #variants : Array(Component) | Nil
Constructor Detail
def self.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)
#
Instance Method Detail
#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.