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.



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

#klassObject (readonly)

Returns the value of attribute klass.



73
74
75
# File 'lib/logstash/plugins/registry.rb', line 73

def klass
  @klass
end

#nameObject (readonly)

Returns the value of attribute name.



73
74
75
# File 'lib/logstash/plugins/registry.rb', line 73

def name
  @name
end

#typeObject (readonly)

Returns the value of attribute type.



73
74
75
# File 'lib/logstash/plugins/registry.rb', line 73

def type
  @type
end