Interface RawConfigurationSource

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface RawConfigurationSource
Provider-scoped lookup of a single raw property value, backing RawProviderConfiguration. Given a property key relative to a provider's subtree (agentforge4j.llm.<providerId>.<key>), it returns the raw string value configured for that key, or null when no value is configured. The lookup is supplied by whichever component wires AgentForge4j into its host configuration, so RawProviderConfiguration and the provider adapters that consume it stay independent of any particular configuration mechanism.
  • Method Summary

    Modifier and Type
    Method
    Description
    find(String key)
    Resolves the value configured for key within this provider's subtree.
  • Method Details

    • find

      String find(String key)
      Resolves the value configured for key within this provider's subtree.
      Parameters:
      key - the property key relative to the provider subtree, in canonical kebab-case (for example api-key, deployment-name); never null
      Returns:
      the configured value when present (which may be blank), or null when no value is configured