Class: RFlow::Configuration::Component
- Inherits:
-
ConfigurationItem
- Object
- ActiveRecord::Base
- ConfigurationItem
- RFlow::Configuration::Component
- Includes:
- ActiveModel::Validations
- Defined in:
- lib/rflow/configuration/component.rb
Overview
Represents a component definition in the SQLite database.
Instance Attribute Summary collapse
-
#input_ports ⇒ Array<InputPort>
The InputPorts of this component.
-
#options ⇒ Hash
Open-ended Hash of component options, serialized via YAML to a single column.
-
#output_ports ⇒ Array<OutputPort>
The OutputPorts of this component.
- #shard ⇒ Shard
Instance Attribute Details
#input_ports ⇒ Array<InputPort>
The InputPorts of this component.
24 |
# File 'lib/rflow/configuration/component.rb', line 24 has_many :input_ports, :primary_key => 'uuid', :foreign_key => 'component_uuid' |
#options ⇒ Hash
Open-ended Hash of component options, serialized via YAML to a single column.
14 |
# File 'lib/rflow/configuration/component.rb', line 14 serialize :options, Hash |
#output_ports ⇒ Array<OutputPort>
The OutputPorts of this component.
29 |
# File 'lib/rflow/configuration/component.rb', line 29 has_many :output_ports, :primary_key => 'uuid', :foreign_key => 'component_uuid' |
#shard ⇒ Shard
The Shard in which this RFlow::Configuration::Component is to run.
19 |
# File 'lib/rflow/configuration/component.rb', line 19 belongs_to :shard, :primary_key => 'uuid', :foreign_key => 'shard_uuid' |