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

cache_file_response, create_step_position_messages, create_suggestion, get_step, implement_stub_response, implementation_files, implementation_glob_pattern_response, 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_implementation_glob_pattern_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_response, refactor_step, step_name_response, step_names_response, step_positions, step_validate_response

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.



53
54
55
# File 'lib/message_processor.rb', line 53

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.



57
58
59
# File 'lib/message_processor.rb', line 57

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