Class: Trainer::LegacyXCResult::ActionRecord

Inherits:
AbstractObject show all
Defined in:
trainer/lib/trainer/legacy_xcresult.rb

Overview

  • ActionRecord
    • Kind: object
    • Properties:
      • schemeCommandName: String
      • schemeTaskName: String
      • title: String?
      • startedTime: Date
      • endedTime: Date
      • runDestination: ActionRunDestinationRecord
      • buildResult: ActionResult
      • actionResult: ActionResult

Instance Attribute Summary collapse

Attributes inherited from AbstractObject

#type

Instance Method Summary collapse

Methods inherited from AbstractObject

#fetch_value, #fetch_values

Constructor Details

#initialize(data) ⇒ ActionRecord

Returns a new instance of ActionRecord.



242
243
244
245
246
247
248
249
# File 'trainer/lib/trainer/legacy_xcresult.rb', line 242

def initialize(data)
  self.scheme_command_name = fetch_value(data, "schemeCommandName")
  self.scheme_task_name = fetch_value(data, "schemeTaskName")
  self.title = fetch_value(data, "title")
  self.build_result = ActionResult.new(data["buildResult"])
  self.action_result = ActionResult.new(data["actionResult"])
  super
end

Instance Attribute Details

#action_resultObject

Returns the value of attribute action_result.



241
242
243
# File 'trainer/lib/trainer/legacy_xcresult.rb', line 241

def action_result
  @action_result
end

#build_resultObject

Returns the value of attribute build_result.



240
241
242
# File 'trainer/lib/trainer/legacy_xcresult.rb', line 240

def build_result
  @build_result
end

#scheme_command_nameObject

Returns the value of attribute scheme_command_name.



237
238
239
# File 'trainer/lib/trainer/legacy_xcresult.rb', line 237

def scheme_command_name
  @scheme_command_name
end

#scheme_task_nameObject

Returns the value of attribute scheme_task_name.



238
239
240
# File 'trainer/lib/trainer/legacy_xcresult.rb', line 238

def scheme_task_name
  @scheme_task_name
end

#titleObject

Returns the value of attribute title.



239
240
241
# File 'trainer/lib/trainer/legacy_xcresult.rb', line 239

def title
  @title
end