Class: TCellAgent::SensorEvents::AppConfigSettingEvent

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

Direct Known Subclasses

TCellAgentSettingEvent

Instance Attribute Summary

Attributes inherited from TCellSensorEvent

#ensure, #flush, #send

Instance Method Summary collapse

Methods inherited from TCellSensorEvent

#bucket_key, #calculateOffset, #post_process

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.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