Class: TCellAgent::SensorEvents::AppConfigSettingEvent

Inherits:
TCellSensorEvent show all
Defined in:
lib/tcell_agent/sensor_events/app_config_setting_event.rb

Direct Known Subclasses

AgentSettingEvent

Instance Attribute Summary

Attributes inherited from TCellSensorEvent

#ensure, #flush, #send

Instance Method Summary collapse

Methods inherited from TCellSensorEvent

#bucket_key, #calculate_offset

Constructor Details

#initialize(package, section, prefix, name, value) ⇒ AppConfigSettingEvent

Returns a new instance of AppConfigSettingEvent.



6
7
8
9
10
11
12
13
14
15
# File 'lib/tcell_agent/sensor_events/app_config_setting_event.rb', line 6

def initialize(package, section, prefix, name, value)
  super('app_config_setting')
  self['package'] = package
  self['section'] = section

  self['name'] = name
  self['value'] = value.to_s

  self['prefix'] = prefix if prefix
end