Sha256: fec4e3e1b14a5a05075f0d46f69d30aed347bfb9fc6ae90fd08edcb6682a220c

Contents?: true

Size: 613 Bytes

Versions: 12

Compression:

Stored size: 613 Bytes

Contents

module Hydra #:nodoc:
  module RunnerListener #:nodoc:
    # Abstract listener that implements all the events
    # but does nothing.
    class Abstract
      # Create a new listener.
      #
      # Output: The IO object for outputting any information.
      # Defaults to STDOUT, but you could pass a file in, or STDERR
      def initialize(output = $stdout)
        @output = output
      end

      # Fired by the runner just before requesting the first file
      def runner_begin( runner )
      end

      # Fired by the runner just after stoping
      def runner_end( runner )
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 5 rubygems

Version Path
ngauthier-hydra-0.24.0 lib/hydra/runner_listener/abstract.rb
nulogy-hydra-0.26.0 lib/hydra/runner_listener/abstract.rb
arturop-hydra-0.25.0 lib/hydra/runner_listener/abstract.rb
arturop-hydra-0.24.0 lib/hydra/runner_listener/abstract.rb
hydra-0.24.0 lib/hydra/runner_listener/abstract.rb
nulogy-hydra-0.23.2.1 lib/hydra/runner_listener/abstract.rb
justinf-hydra-0.23.8 lib/hydra/runner_listener/abstract.rb
justinf-hydra-0.23.7 lib/hydra/runner_listener/abstract.rb
justinf-hydra-0.23.6 lib/hydra/runner_listener/abstract.rb
justinf-hydra-0.23.5 lib/hydra/runner_listener/abstract.rb
justinf-hydra-0.23.4 lib/hydra/runner_listener/abstract.rb
arturop-hydra-0.23.4 lib/hydra/runner_listener/abstract.rb