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.
79 80 81 82 83 |
# File 'lib/logstash/plugins/registry.rb', line 79 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.
77 78 79 |
# File 'lib/logstash/plugins/registry.rb', line 77 def klass @klass end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
77 78 79 |
# File 'lib/logstash/plugins/registry.rb', line 77 def name @name end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
77 78 79 |
# File 'lib/logstash/plugins/registry.rb', line 77 def type @type end |