ConfigExtractors
Type-safe configuration of value extractors. Each method removes the value from the map and returns null if not present.
All extractors follow the same contract:
If the key is absent or null, return null (allows caller to use default)
If the key exists, remove it from the map (for detecting unused keys)
If the value has wrong type, throw ConfigurationException with field context
Functions
Extracts and validates an Enum value. Supports both the enum type directly and String values. String matching is case-insensitive and converts hyphens to underscores.
Extracts and validates an Integer value. Supports Int, Long, Number, and numeric String inputs.
Extracts and validates a String value.
Extracts and validates a Map
Extracts and validates a Map
Extracts and validates a List
Extracts and validates a Set
Extracts and validates a Map