Class: Opstat::Plugins::Apache2

Inherits:
Task
  • Object
show all
Defined in:
lib/plugins/apache2.rb

Instance Method Summary collapse

Constructor Details

#initialize(name, queue, config) ⇒ Apache2

Returns a new instance of Apache2.



6
7
8
9
# File 'lib/plugins/apache2.rb', line 6

def initialize (name, queue, config)
  super(name, queue, config)
  self
end

Instance Method Details

#external_pluginObject



19
20
21
# File 'lib/plugins/apache2.rb', line 19

def external_plugin
  return @external_plugin
end

#parseObject



11
12
13
# File 'lib/plugins/apache2.rb', line 11

def parse
  return @external_plugin[:object].get
end

#set_external_plugin=(external) ⇒ Object



15
16
17
# File 'lib/plugins/apache2.rb', line 15

def set_external_plugin=(external)
  @external_plugin[:object] = external
end