Class: Trainer::XCResult::ActionRecord
- Inherits:
-
AbstractObject
- Object
- AbstractObject
- Trainer::XCResult::ActionRecord
- Defined in:
- trainer/lib/trainer/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
-
#action_result ⇒ Object
Returns the value of attribute action_result.
-
#build_result ⇒ Object
Returns the value of attribute build_result.
-
#scheme_command_name ⇒ Object
Returns the value of attribute scheme_command_name.
-
#scheme_task_name ⇒ Object
Returns the value of attribute scheme_task_name.
-
#title ⇒ Object
Returns the value of attribute title.
Attributes inherited from AbstractObject
Instance Method Summary collapse
-
#initialize(data) ⇒ ActionRecord
constructor
A new instance of ActionRecord.
Methods inherited from AbstractObject
Constructor Details
#initialize(data) ⇒ ActionRecord
Returns a new instance of ActionRecord.
238 239 240 241 242 243 244 245 |
# File 'trainer/lib/trainer/xcresult.rb', line 238 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_result ⇒ Object
Returns the value of attribute action_result.
237 238 239 |
# File 'trainer/lib/trainer/xcresult.rb', line 237 def action_result @action_result end |
#build_result ⇒ Object
Returns the value of attribute build_result.
236 237 238 |
# File 'trainer/lib/trainer/xcresult.rb', line 236 def build_result @build_result end |
#scheme_command_name ⇒ Object
Returns the value of attribute scheme_command_name.
233 234 235 |
# File 'trainer/lib/trainer/xcresult.rb', line 233 def scheme_command_name @scheme_command_name end |
#scheme_task_name ⇒ Object
Returns the value of attribute scheme_task_name.
234 235 236 |
# File 'trainer/lib/trainer/xcresult.rb', line 234 def scheme_task_name @scheme_task_name end |
#title ⇒ Object
Returns the value of attribute title.
235 236 237 |
# File 'trainer/lib/trainer/xcresult.rb', line 235 def title @title end |