Class: Opstat::Plugins::Apache2
- Inherits:
-
Task
- Object
- Task
- Opstat::Plugins::Apache2
- Defined in:
- lib/plugins/apache2.rb
Instance Method Summary collapse
- #external_plugin ⇒ Object
-
#initialize(name, queue, config) ⇒ Apache2
constructor
A new instance of Apache2.
- #parse ⇒ Object
- #set_external_plugin=(external) ⇒ Object
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_plugin ⇒ Object
19 20 21 |
# File 'lib/plugins/apache2.rb', line 19 def external_plugin return @external_plugin end |
#parse ⇒ Object
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 |