class Bosh::Monitor::Plugins::Base
Attributes
event_kinds[R]
logger[R]
options[R]
Public Class Methods
new(options = {})
click to toggle source
# File lib/bosh/monitor/plugins/base.rb, line 8 def initialize(options = {}) @logger = Bhm.logger @options = (options || {}).dup @event_kinds = [] end
Public Instance Methods
process(event)
click to toggle source
# File lib/bosh/monitor/plugins/base.rb, line 22 def process(event) raise FatalError, "'process' method is not implemented in '#{self.class}'" end
run()
click to toggle source
# File lib/bosh/monitor/plugins/base.rb, line 18 def run raise FatalError, "'run' method is not implemented in '#{self.class}'" end
validate_options()
click to toggle source
# File lib/bosh/monitor/plugins/base.rb, line 14 def validate_options true end