Sha256: c5b94a5dcb2ae79a6d2834c6fe0ba136b09f6afb2881c69247e76af940530793

Contents?: true

Size: 1.04 KB

Versions: 36

Compression:

Stored size: 1.04 KB

Contents

require 'hybrid_platforms_conductor/logger_helpers'
require 'hybrid_platforms_conductor/plugin'

module HybridPlatformsConductor

  # Ancestor of all report plugins
  class Report < Plugin

    # Constructor
    #
    # Parameters::
    # * *logger* (Logger): Logger to be used [default: Logger.new(STDOUT)]
    # * *logger_stderr* (Logger): Logger to be used for stderr [default: Logger.new(STDERR)]
    # * *config* (Config): Config to be used. [default: Config.new]
    # * *platforms_handler* (PlatformsHandler): Platforms handler to be used. [default: PlatformsHandler.new]
    # * *nodes_handler* (NodesHandler): Nodes handler to be used. [default: NodesHandler.new]
    def initialize(
      logger: Logger.new(STDOUT),
      logger_stderr: Logger.new(STDERR),
      config: Config.new,
      platforms_handler: PlatformsHandler.new,
      nodes_handler: NodesHandler.new
    )
      super(logger: logger, logger_stderr: logger_stderr, config: config)
      @platforms_handler = platforms_handler
      @nodes_handler = nodes_handler
    end

  end

end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
hybrid_platforms_conductor-32.10.0 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.9.1 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.9.0 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.8.2 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.8.1 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.8.0 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.7.3 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.7.2 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.7.1 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.7.0 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.6.0 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.5.0 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.4.2 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.4.1 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.4.0 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.3.6 lib/hybrid_platforms_conductor/report.rb