Class: Sonar::Connector::DummyConnector

Inherits:
Base
  • Object
show all
Defined in:
lib/sonar_connector/connectors/dummy_connector.rb

Overview

Dummy connector type. Does nothing except report back to the controller.

Instance Attribute Summary

Attributes inherited from Base

#connector, #connector_dir, #connector_filestore, #filestore, #log, #name, #queue, #raw_config, #repeat_delay, #run, #source_connectors, #state

Instance Method Summary collapse

Methods inherited from Base

#cleanup, #initialize, #load_state, #prepare, #read_state, #run_loop, #run_once, #save_state, #start, #switch_to_log_file, #to_s

Constructor Details

This class inherits a constructor from Sonar::Connector::Base

Instance Method Details

#actionObject



11
12
13
# File 'lib/sonar_connector/connectors/dummy_connector.rb', line 11

def action
  log.debug "#{name} mumbled incoherently to itself."
end

#parse(config) ⇒ Object



8
9
# File 'lib/sonar_connector/connectors/dummy_connector.rb', line 8

def parse(config)
end