Class: LogStash::Plugins::Registry::PluginSpecification

Inherits:
Object
  • Object
show all
Defined in:
lib/logstash/plugins/registry.rb

Direct Known Subclasses

UniversalPluginSpecification

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#klassObject (readonly)

Returns the value of attribute klass.



77
78
79
# File 'lib/logstash/plugins/registry.rb', line 77

def klass
  @klass
end

#nameObject (readonly)

Returns the value of attribute name.



77
78
79
# File 'lib/logstash/plugins/registry.rb', line 77

def name
  @name
end

#typeObject (readonly)

Returns the value of attribute type.



77
78
79
# File 'lib/logstash/plugins/registry.rb', line 77

def type
  @type
end