Class: Hexx::Suit::Metrics::Base Private

Inherits:
Object
  • Object
show all
Defined in:
lib/hexx/suit/metrics/base.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Base class for metrics configurators

Constant Summary collapse

SYSTEM =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

The utility class for sending commands to the system

Utils::System

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.loadHexx::Suit::Metrics

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Loads metric settings and configures the current metric

Returns:


27
28
29
# File 'lib/hexx/suit/metrics/base.rb', line 27

def self.load
  send(:new).load
end

.runundefined

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Configures and runs the current metric

Returns:

  • (undefined)

34
35
36
# File 'lib/hexx/suit/metrics/base.rb', line 34

def self.run
  load.run
end

Instance Method Details

#loadself

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Loads the configuration file and configures the metric

Returns:

  • (self)

43
44
45
# File 'lib/hexx/suit/metrics/base.rb', line 43

def load
  self
end

#runundefined

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This method is abstract.

Runs the metric

Returns:

  • (undefined)

54
55
# File 'lib/hexx/suit/metrics/base.rb', line 54

def run
end