config: Add getFields method to Config

This commit is contained in:
Oliver
2025-07-19 21:21:24 +02:00
parent 44959a2fbb
commit 524c1b5635

View File

@@ -36,6 +36,15 @@ public class Config {
fields.put(field.path(), field); fields.put(field.path(), field);
} }
/**
* Retrieves the logger associated with this configuration.
*
* @return the logger
*/
public Map<String, ConfigField<?>> getFields() {
return fields;
}
/** /**
* Retrieves the value of a configuration field by its path. * Retrieves the value of a configuration field by its path.
* *