Class: LogStash::Plugins::Registry::PluginSpecification
- Inherits:
-
Object
- Object
- LogStash::Plugins::Registry::PluginSpecification
- Defined in:
- lib/logstash/plugins/registry.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#klass ⇒ Object
readonly
Returns the value of attribute klass.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type, name, klass) ⇒ PluginSpecification
constructor
A new instance of PluginSpecification.
Constructor Details
#initialize(type, name, klass) ⇒ PluginSpecification
Returns a new instance of PluginSpecification.
75 76 77 78 79 |
# File 'lib/logstash/plugins/registry.rb', line 75 def initialize(type, name, klass) @type = type.to_sym @name = name @klass = klass end |
Instance Attribute Details
#klass ⇒ Object (readonly)
Returns the value of attribute klass.
73 74 75 |
# File 'lib/logstash/plugins/registry.rb', line 73 def klass @klass end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
73 74 75 |
# File 'lib/logstash/plugins/registry.rb', line 73 def name @name end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
73 74 75 |
# File 'lib/logstash/plugins/registry.rb', line 73 def type @type end |