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-33.0.0 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.18.0 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.17.1 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.17.0 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.16.4 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.16.3 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.16.2 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.16.1 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.16.0 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.15.0 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.14.0 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.13.4 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.13.3 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.13.2 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.13.1 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.13.0 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.12.0 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.11.2 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.11.1 lib/hybrid_platforms_conductor/report.rb
hybrid_platforms_conductor-32.11.0 lib/hybrid_platforms_conductor/report.rb