Class: Gauge::MessageProcessor Private

Inherits:
Object
  • Object
show all
Extended by:
Processors
Defined in:
lib/message_processor.rb

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.

Class Method Summary collapse

Methods included from Processors

create_span, create_step_position_messages, create_suggestion, get_step, load_from_disk, process_cache_file_request, process_datastore_init, process_execute_step_request, process_execution_end_request, process_execution_start_request, process_implementation_file_list_request, process_kill_processor_request, process_scenario_execution_end_request, process_scenario_execution_start_request, process_spec_execution_end_request, process_spec_execution_start_request, process_step_execution_end_request, process_step_execution_start_request, process_step_name_request, process_step_names_request, process_step_positions_request, process_step_validation_request, process_stub_implementation_code_request, refactor_step

Methods included from Processors::ExecutionHandler

#create_param_values, #get_code_snippet, #handle_failure, #handle_hooks_execution, #handle_pass, #screenshot_bytes, #time_elapsed_since

Class Method Details

.is_valid_message(message) ⇒ Object

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.



51
52
53
# File 'lib/message_processor.rb', line 51

def self.is_valid_message(message)
  return @processors.has_key? message.messageType
end

.process_message(message) ⇒ Object

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.



55
56
57
# File 'lib/message_processor.rb', line 55

def self.process_message(message)
  @processors[message.messageType].call message
end