Class: SBOM::CycloneDX::Record::Component::Pedigree

Inherits:
Base
  • Object
show all
Defined in:
lib/sbom/cyclone_dx/record/component.rb,
sig/sbom/cyclone_dx/record/component.rbs

Overview

Schema name: Pedigree

Constant Summary

Constants inherited from Base

Base::Record

Instance Attribute Summary

Attributes inherited from Base

#errors

Instance Method Summary collapse

Methods inherited from Base

#<=>, const, custom_validators, fields, #formatted_errors, json_create, json_name, prop, #valid!, #valid?, validate

Methods included from _Klass

#const, #const_names, #create, #create!, #custom_validators, #fields, #json_name, #prop, #prop_names, #validate

Methods included from _Instance

#as_json, #errors, #formatted_errors, #to_json, #valid?

Constructor Details

#initialize ⇒ Pedigree

Returns a new instance of Pedigree.

Parameters:



6
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 6

def initialize: (?ancestors: Array[Component]?, ?descendants: Array[Component]?, ?variants: Array[Component]?, ?commits: Array[Commit]?, ?patches: Array[Patch]?, ?notes: String?) -> void

Instance Method Details

#ancestors ⇒ Array[Component]?

Returns:



8
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 8

def ancestors: () -> Array[Component]?

#ancestors= ⇒ Array[Component]?

Parameters:

Returns:



9
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 9

def ancestors=: (Array[Component]?) -> Array[Component]?

#ancestors? ⇒ Boolean

Returns:

  • (Boolean)


10
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 10

def ancestors?: () -> bool

#ancestors_valid? ⇒ Boolean

Returns:

  • (Boolean)


11
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 11

def ancestors_valid?: () -> bool

#commits ⇒ Array[Commit]?

Returns:



23
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 23

def commits: () -> Array[Commit]?

#commits= ⇒ Array[Commit]?

Parameters:

Returns:



24
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 24

def commits=: (Array[Commit]?) -> Array[Commit]?

#commits? ⇒ Boolean

Returns:

  • (Boolean)


25
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 25

def commits?: () -> bool

#commits_valid? ⇒ Boolean

Returns:

  • (Boolean)


26
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 26

def commits_valid?: () -> bool

#descendants ⇒ Array[Component]?

Returns:



13
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 13

def descendants: () -> Array[Component]?

#descendants= ⇒ Array[Component]?

Parameters:

Returns:



14
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 14

def descendants=: (Array[Component]?) -> Array[Component]?

#descendants? ⇒ Boolean

Returns:

  • (Boolean)


15
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 15

def descendants?: () -> bool

#descendants_valid? ⇒ Boolean

Returns:

  • (Boolean)


16
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 16

def descendants_valid?: () -> bool

#notes ⇒ String?

Returns:

  • (String, nil)


33
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 33

def notes: () -> String?

#notes= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


34
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 34

def notes=: (String?) -> String?

#notes? ⇒ Boolean

Returns:

  • (Boolean)


35
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 35

def notes?: () -> bool

#notes_valid? ⇒ Boolean

Returns:

  • (Boolean)


36
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 36

def notes_valid?: () -> bool

#patches ⇒ Array[Patch]?

Returns:



28
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 28

def patches: () -> Array[Patch]?

#patches= ⇒ Array[Patch]?

Parameters:

Returns:



29
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 29

def patches=: (Array[Patch]?) -> Array[Patch]?

#patches? ⇒ Boolean

Returns:

  • (Boolean)


30
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 30

def patches?: () -> bool

#patches_valid? ⇒ Boolean

Returns:

  • (Boolean)


31
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 31

def patches_valid?: () -> bool

#variants ⇒ Array[Component]?

Returns:



18
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 18

def variants: () -> Array[Component]?

#variants= ⇒ Array[Component]?

Parameters:

Returns:



19
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 19

def variants=: (Array[Component]?) -> Array[Component]?

#variants? ⇒ Boolean

Returns:

  • (Boolean)


20
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 20

def variants?: () -> bool

#variants_valid? ⇒ Boolean

Returns:

  • (Boolean)


21
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 21

def variants_valid?: () -> bool