Class: SBOM::CycloneDX::Record::Task

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

Overview

Schema name: Task

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 ⇒ Task



5
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 5

def initialize: (bom_ref: String, uid: String, ?name: String?, ?description: String?, ?resource_references: Array[ResourceReferenceChoice]?, ?task_types: Array[String]?, ?trigger: Trigger?, ?steps: Array[Step]?, ?inputs: Array[Input]?, ?outputs: Array[Output]?, ?time_start: dateTime?, ?time_end: dateTime?, ?workspaces: Array[Workspace]?, ?runtime_topology: Array[Dependency]?, ?properties: Array[Property]?) -> void

Instance Method Details

#bom_ref ⇒ String



7
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 7

def bom_ref: () -> String

#bom_ref= ⇒ String



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

def bom_ref=: (String) -> String

#bom_ref? ⇒ Boolean



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

def bom_ref?: () -> bool

#bom_ref_valid? ⇒ Boolean



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

def bom_ref_valid?: () -> bool

#description ⇒ String?



22
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 22

def description: () -> String?

#description= ⇒ String?



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

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

#description? ⇒ Boolean



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

def description?: () -> bool

#description_valid? ⇒ Boolean



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

def description_valid?: () -> bool

#inputs ⇒ Array[Input]?



47
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 47

def inputs: () -> Array[Input]?

#inputs= ⇒ Array[Input]?



48
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 48

def inputs=: (Array[Input]?) -> Array[Input]?

#inputs? ⇒ Boolean



49
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 49

def inputs?: () -> bool

#inputs_valid? ⇒ Boolean



50
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 50

def inputs_valid?: () -> bool

#name ⇒ String?



17
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 17

def name: () -> String?

#name= ⇒ String?



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

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

#name? ⇒ Boolean



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

def name?: () -> bool

#name_valid? ⇒ Boolean



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

def name_valid?: () -> bool

#outputs ⇒ Array[Output]?



52
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 52

def outputs: () -> Array[Output]?

#outputs= ⇒ Array[Output]?



53
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 53

def outputs=: (Array[Output]?) -> Array[Output]?

#outputs? ⇒ Boolean



54
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 54

def outputs?: () -> bool

#outputs_valid? ⇒ Boolean



55
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 55

def outputs_valid?: () -> bool

#properties ⇒ Array[Property]?



77
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 77

def properties: () -> Array[Property]?

#properties= ⇒ Array[Property]?



78
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 78

def properties=: (Array[Property]?) -> Array[Property]?

#properties? ⇒ Boolean



79
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 79

def properties?: () -> bool

#properties_valid? ⇒ Boolean



80
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 80

def properties_valid?: () -> bool

#resource_references ⇒ Array[ResourceReferenceChoice]?



27
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 27

def resource_references: () -> Array[ResourceReferenceChoice]?

#resource_references= ⇒ Array[ResourceReferenceChoice]?



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

def resource_references=: (Array[ResourceReferenceChoice]?) -> Array[ResourceReferenceChoice]?

#resource_references? ⇒ Boolean



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

def resource_references?: () -> bool

#resource_references_valid? ⇒ Boolean



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

def resource_references_valid?: () -> bool

#runtime_topology ⇒ Array[Dependency]?



72
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 72

def runtime_topology: () -> Array[Dependency]?

#runtime_topology= ⇒ Array[Dependency]?



73
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 73

def runtime_topology=: (Array[Dependency]?) -> Array[Dependency]?

#runtime_topology? ⇒ Boolean



74
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 74

def runtime_topology?: () -> bool

#runtime_topology_valid? ⇒ Boolean



75
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 75

def runtime_topology_valid?: () -> bool

#steps ⇒ Array[Step]?



42
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 42

def steps: () -> Array[Step]?

#steps= ⇒ Array[Step]?



43
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 43

def steps=: (Array[Step]?) -> Array[Step]?

#steps? ⇒ Boolean



44
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 44

def steps?: () -> bool

#steps_valid? ⇒ Boolean



45
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 45

def steps_valid?: () -> bool

#task_types ⇒ Array[String]?



32
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 32

def task_types: () -> Array[String]?

#task_types= ⇒ Array[String]?



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

def task_types=: (Array[String]?) -> Array[String]?

#task_types? ⇒ Boolean



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

def task_types?: () -> bool

#task_types_valid? ⇒ Boolean



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

def task_types_valid?: () -> bool

#time_end ⇒ dateTime?



62
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 62

def time_end: () -> dateTime?

#time_end= ⇒ dateTime?



63
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 63

def time_end=: (dateTime?) -> dateTime?

#time_end? ⇒ Boolean



64
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 64

def time_end?: () -> bool

#time_end_valid? ⇒ Boolean



65
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 65

def time_end_valid?: () -> bool

#time_start ⇒ dateTime?



57
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 57

def time_start: () -> dateTime?

#time_start= ⇒ dateTime?



58
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 58

def time_start=: (dateTime?) -> dateTime?

#time_start? ⇒ Boolean



59
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 59

def time_start?: () -> bool

#time_start_valid? ⇒ Boolean



60
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 60

def time_start_valid?: () -> bool

#trigger ⇒ Trigger?



37
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 37

def trigger: () -> Trigger?

#trigger= ⇒ Trigger?



38
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 38

def trigger=: (Trigger?) -> Trigger?

#trigger? ⇒ Boolean



39
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 39

def trigger?: () -> bool

#trigger_valid? ⇒ Boolean



40
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 40

def trigger_valid?: () -> bool

#uid ⇒ String



12
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 12

def uid: () -> String

#uid= ⇒ String



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

def uid=: (String) -> String

#uid? ⇒ Boolean



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

def uid?: () -> bool

#uid_valid? ⇒ Boolean



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

def uid_valid?: () -> bool

#workspaces ⇒ Array[Workspace]?



67
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 67

def workspaces: () -> Array[Workspace]?

#workspaces= ⇒ Array[Workspace]?



68
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 68

def workspaces=: (Array[Workspace]?) -> Array[Workspace]?

#workspaces? ⇒ Boolean



69
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 69

def workspaces?: () -> bool

#workspaces_valid? ⇒ Boolean



70
# File 'sig/sbom/cyclone_dx/record/task.rbs', line 70

def workspaces_valid?: () -> bool