Class: SBOM::CycloneDX::Record::Component::Pedigree
- Inherits:
-
Base
- Object
- Base
- SBOM::CycloneDX::Record::Component::Pedigree
show all
- Defined in:
- lib/sbom/cyclone_dx/record/component.rb,
sig/sbom/cyclone_dx/record/component.rbs
Overview
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
Returns a new instance of Pedigree.
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]?
8
|
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 8
def ancestors: () -> Array[Component]?
|
#ancestors= ⇒ Array[Component]?
9
|
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 9
def ancestors=: (Array[Component]?) -> Array[Component]?
|
#ancestors? ⇒ Boolean
10
|
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 10
def ancestors?: () -> bool
|
#ancestors_valid? ⇒ Boolean
11
|
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 11
def ancestors_valid?: () -> bool
|
#commits ⇒ Array[Commit]?
23
|
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 23
def commits: () -> Array[Commit]?
|
#commits= ⇒ Array[Commit]?
24
|
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 24
def commits=: (Array[Commit]?) -> Array[Commit]?
|
#commits? ⇒ Boolean
25
|
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 25
def commits?: () -> bool
|
#commits_valid? ⇒ Boolean
26
|
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 26
def commits_valid?: () -> bool
|
#descendants ⇒ Array[Component]?
13
|
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 13
def descendants: () -> Array[Component]?
|
#descendants= ⇒ Array[Component]?
14
|
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 14
def descendants=: (Array[Component]?) -> Array[Component]?
|
#descendants? ⇒ Boolean
15
|
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 15
def descendants?: () -> bool
|
#descendants_valid? ⇒ Boolean
16
|
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 16
def descendants_valid?: () -> bool
|
#notes ⇒ String?
33
|
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 33
def notes: () -> String?
|
#notes= ⇒ String?
34
|
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 34
def notes=: (String?) -> String?
|
#notes? ⇒ Boolean
35
|
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 35
def notes?: () -> bool
|
#notes_valid? ⇒ Boolean
36
|
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 36
def notes_valid?: () -> bool
|
#patches ⇒ Array[Patch]?
28
|
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 28
def patches: () -> Array[Patch]?
|
#patches= ⇒ Array[Patch]?
29
|
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 29
def patches=: (Array[Patch]?) -> Array[Patch]?
|
#patches? ⇒ Boolean
30
|
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 30
def patches?: () -> bool
|
#patches_valid? ⇒ Boolean
31
|
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 31
def patches_valid?: () -> bool
|
#variants ⇒ Array[Component]?
18
|
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 18
def variants: () -> Array[Component]?
|
#variants= ⇒ Array[Component]?
19
|
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 19
def variants=: (Array[Component]?) -> Array[Component]?
|
#variants? ⇒ Boolean
20
|
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 20
def variants?: () -> bool
|
#variants_valid? ⇒ Boolean
21
|
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 21
def variants_valid?: () -> bool
|