Class: OllamaAgent::Topology::IR::EventPublisherNode
- Inherits:
-
Data
- Object
- Data
- OllamaAgent::Topology::IR::EventPublisherNode
- Defined in:
- lib/ollama_agent/topology/ir/event_publisher_node.rb
Instance Attribute Summary collapse
-
#event_name ⇒ Object
readonly
Returns the value of attribute event_name.
-
#fqcn ⇒ Object
readonly
Returns the value of attribute fqcn.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#origin_extractor_version ⇒ Object
readonly
Returns the value of attribute origin_extractor_version.
-
#payload_schema_ref ⇒ Object
readonly
Returns the value of attribute payload_schema_ref.
-
#source_line ⇒ Object
readonly
Returns the value of attribute source_line.
-
#source_path ⇒ Object
readonly
Returns the value of attribute source_path.
Class Method Summary collapse
-
.build(source_path:, source_line:, origin_extractor_version:, fqcn:, event_name:, payload_schema_ref: nil) ⇒ Object
rubocop:disable Metrics/ParameterLists.
Instance Attribute Details
#event_name ⇒ Object (readonly)
Returns the value of attribute event_name
6 7 8 |
# File 'lib/ollama_agent/topology/ir/event_publisher_node.rb', line 6 def event_name @event_name end |
#fqcn ⇒ Object (readonly)
Returns the value of attribute fqcn
6 7 8 |
# File 'lib/ollama_agent/topology/ir/event_publisher_node.rb', line 6 def fqcn @fqcn end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
6 7 8 |
# File 'lib/ollama_agent/topology/ir/event_publisher_node.rb', line 6 def kind @kind end |
#origin_extractor_version ⇒ Object (readonly)
Returns the value of attribute origin_extractor_version
6 7 8 |
# File 'lib/ollama_agent/topology/ir/event_publisher_node.rb', line 6 def origin_extractor_version @origin_extractor_version end |
#payload_schema_ref ⇒ Object (readonly)
Returns the value of attribute payload_schema_ref
6 7 8 |
# File 'lib/ollama_agent/topology/ir/event_publisher_node.rb', line 6 def payload_schema_ref @payload_schema_ref end |
#source_line ⇒ Object (readonly)
Returns the value of attribute source_line
6 7 8 |
# File 'lib/ollama_agent/topology/ir/event_publisher_node.rb', line 6 def source_line @source_line end |
#source_path ⇒ Object (readonly)
Returns the value of attribute source_path
6 7 8 |
# File 'lib/ollama_agent/topology/ir/event_publisher_node.rb', line 6 def source_path @source_path end |
Class Method Details
.build(source_path:, source_line:, origin_extractor_version:, fqcn:, event_name:, payload_schema_ref: nil) ⇒ Object
rubocop:disable Metrics/ParameterLists
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/ollama_agent/topology/ir/event_publisher_node.rb', line 16 def self.build( source_path:, source_line:, origin_extractor_version:, fqcn:, event_name:, payload_schema_ref: nil ) # rubocop:enable Metrics/ParameterLists new( :event_publisher, source_path.to_s, Integer(source_line), origin_extractor_version.to_s, fqcn.to_s, event_name.to_s, payload_schema_ref&.to_s ) end |