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.



78
79
80
81
82
# File 'lib/logstash/plugins/registry.rb', line 78

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.



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

def klass
  @klass
end

#nameObject (readonly)

Returns the value of attribute name.



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

def name
  @name
end

#typeObject (readonly)

Returns the value of attribute type.



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

def type
  @type
end