Class: KalibroClient::Entities::Processor::MetricResult
Direct Known Subclasses
Instance Attribute Summary collapse
-
#id ⇒ Object
TODO: related_hotspot_metric_results_id should be enclosed to Processor which does not return this id into the response there should be a controller that returns all the HotspotMetricResults associated through RelatedHotspotMetricResult.
-
#line_number ⇒ Object
TODO: related_hotspot_metric_results_id should be enclosed to Processor which does not return this id into the response there should be a controller that returns all the HotspotMetricResults associated through RelatedHotspotMetricResult.
-
#message ⇒ Object
TODO: related_hotspot_metric_results_id should be enclosed to Processor which does not return this id into the response there should be a controller that returns all the HotspotMetricResults associated through RelatedHotspotMetricResult.
-
#metric_configuration ⇒ Object
Returns the value of attribute metric_configuration.
-
#metric_configuration_id ⇒ Object
TODO: related_hotspot_metric_results_id should be enclosed to Processor which does not return this id into the response there should be a controller that returns all the HotspotMetricResults associated through RelatedHotspotMetricResult.
-
#module_result_id ⇒ Object
TODO: related_hotspot_metric_results_id should be enclosed to Processor which does not return this id into the response there should be a controller that returns all the HotspotMetricResults associated through RelatedHotspotMetricResult.
-
#related_hotspot_metric_results_id ⇒ Object
TODO: related_hotspot_metric_results_id should be enclosed to Processor which does not return this id into the response there should be a controller that returns all the HotspotMetricResults associated through RelatedHotspotMetricResult.
-
#value ⇒ Object
TODO: related_hotspot_metric_results_id should be enclosed to Processor which does not return this id into the response there should be a controller that returns all the HotspotMetricResults associated through RelatedHotspotMetricResult.
Instance Method Summary collapse
Methods inherited from Base
Methods inherited from Base
Instance Attribute Details
#id ⇒ Object
TODO: related_hotspot_metric_results_id should be enclosed to Processor which does not return this id into the response
there should be a controller that returns all the HotspotMetricResults associated through RelatedHotspotMetricResult
23 24 25 |
# File 'lib/kalibro_client/entities/processor/metric_result.rb', line 23 def id @id end |
#line_number ⇒ Object
TODO: related_hotspot_metric_results_id should be enclosed to Processor which does not return this id into the response
there should be a controller that returns all the HotspotMetricResults associated through RelatedHotspotMetricResult
23 24 25 |
# File 'lib/kalibro_client/entities/processor/metric_result.rb', line 23 def line_number @line_number end |
#message ⇒ Object
TODO: related_hotspot_metric_results_id should be enclosed to Processor which does not return this id into the response
there should be a controller that returns all the HotspotMetricResults associated through RelatedHotspotMetricResult
23 24 25 |
# File 'lib/kalibro_client/entities/processor/metric_result.rb', line 23 def @message end |
#metric_configuration ⇒ Object
Returns the value of attribute metric_configuration.
25 26 27 |
# File 'lib/kalibro_client/entities/processor/metric_result.rb', line 25 def metric_configuration @metric_configuration end |
#metric_configuration_id ⇒ Object
TODO: related_hotspot_metric_results_id should be enclosed to Processor which does not return this id into the response
there should be a controller that returns all the HotspotMetricResults associated through RelatedHotspotMetricResult
23 24 25 |
# File 'lib/kalibro_client/entities/processor/metric_result.rb', line 23 def metric_configuration_id @metric_configuration_id end |
#module_result_id ⇒ Object
TODO: related_hotspot_metric_results_id should be enclosed to Processor which does not return this id into the response
there should be a controller that returns all the HotspotMetricResults associated through RelatedHotspotMetricResult
23 24 25 |
# File 'lib/kalibro_client/entities/processor/metric_result.rb', line 23 def module_result_id @module_result_id end |
#related_hotspot_metric_results_id ⇒ Object
TODO: related_hotspot_metric_results_id should be enclosed to Processor which does not return this id into the response
there should be a controller that returns all the HotspotMetricResults associated through RelatedHotspotMetricResult
23 24 25 |
# File 'lib/kalibro_client/entities/processor/metric_result.rb', line 23 def @related_hotspot_metric_results_id end |
#value ⇒ Object
TODO: related_hotspot_metric_results_id should be enclosed to Processor which does not return this id into the response
there should be a controller that returns all the HotspotMetricResults associated through RelatedHotspotMetricResult
23 24 25 |
# File 'lib/kalibro_client/entities/processor/metric_result.rb', line 23 def value @value end |
Instance Method Details
#module_result ⇒ Object
53 54 55 56 57 58 |
# File 'lib/kalibro_client/entities/processor/metric_result.rb', line 53 def module_result return @module_result unless @module_result.nil? || @module_result_id != @module_result.id module_result_hash = KalibroClient::Entities::Processor::MetricResult .request(':id/module_result', { id: self.id }, :get)['module_result'] @module_result = KalibroClient::Entities::Processor::ModuleResult.new module_result_hash end |