Class: Origen::Errata::SwErratumWorkaround

Inherits:
Object
  • Object
show all
Defined in:
lib/origen/errata/sw_erratum_workaround.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id, overview = {}, resolution = {}) ⇒ SwErratumWorkaround

Returns a new instance of SwErratumWorkaround.



28
29
30
31
32
33
34
35
36
# File 'lib/origen/errata/sw_erratum_workaround.rb', line 28

def initialize(id, overview = {}, resolution = {})
  @id = id
  @title = overview[:title]
  @description = overview[:description]
  @sw_disposition = overview[:sw_disposition]
  @distribution = overview[:distribution]
  @note = resolution[:note]
  @patches = resolution[:patches]
end

Instance Attribute Details

#descriptionObject

Description of software workaround and implementation



11
12
13
# File 'lib/origen/errata/sw_erratum_workaround.rb', line 11

def description
  @description
end

#distributionObject

Software distribution version which incorporates the workaround



20
21
22
# File 'lib/origen/errata/sw_erratum_workaround.rb', line 20

def distribution
  @distribution
end

#idObject (readonly)

ID number used to identify software workaround



5
6
7
# File 'lib/origen/errata/sw_erratum_workaround.rb', line 5

def id
  @id
end

#noteObject

Release note



23
24
25
# File 'lib/origen/errata/sw_erratum_workaround.rb', line 23

def note
  @note
end

#patchesObject

Link to patch(s) for workaround



26
27
28
# File 'lib/origen/errata/sw_erratum_workaround.rb', line 26

def patches
  @patches
end

#sw_dispositionObject

Availability of workaround, ex:

-- Not Applicable: Errata does not affect software
-- Not Available: Workaround not available
-- Available: Workaround is available to be distributed


17
18
19
# File 'lib/origen/errata/sw_erratum_workaround.rb', line 17

def sw_disposition
  @sw_disposition
end

#titleObject

Title of software workaround



8
9
10
# File 'lib/origen/errata/sw_erratum_workaround.rb', line 8

def title
  @title
end