Class: Contrast::Config::InventoryConfiguration

Inherits:
BaseConfiguration show all
Defined in:
lib/contrast/config/inventory_configuration.rb

Overview

Common Configuration settings. Those in this section pertain to the inventory functionality of the Agent.

Constant Summary collapse

KEYS =
{
    enable: Contrast::Config::DefaultValue.new(true),
    analyze_libraries: Contrast::Config::DefaultValue.new(true),
    tags: EMPTY_VALUE
}.cs__freeze

Constants inherited from BaseConfiguration

BaseConfiguration::BOOLEANS, BaseConfiguration::EMPTY_VALUE

Instance Attribute Summary

Attributes inherited from BaseConfiguration

#map

Instance Method Summary collapse

Methods inherited from BaseConfiguration

#assign_value_to_path_array, #nil?

Constructor Details

#initialize(hsh) ⇒ InventoryConfiguration

Returns a new instance of InventoryConfiguration.



15
16
17
# File 'lib/contrast/config/inventory_configuration.rb', line 15

def initialize hsh
  super(hsh, KEYS)
end