A B C D E F G H I J K L M N O P R S T U V W Y 
All Classes All Packages

A

AbstractFileConfigSource<T> - Class in org.confng.sources
Abstract base class for file-based configuration sources.
AbstractFileConfigSource(String) - Constructor for class org.confng.sources.AbstractFileConfigSource
Creates a new file-based config source from the given file path.
AbstractFileConfigSource(String, String) - Constructor for class org.confng.sources.AbstractFileConfigSource
Creates a new file-based config source from the given file path for a specific environment.
AbstractFileConfigSource(Path) - Constructor for class org.confng.sources.AbstractFileConfigSource
Creates a new file-based config source from the given Path.
AbstractFileConfigSource(Path, String) - Constructor for class org.confng.sources.AbstractFileConfigSource
Creates a new file-based config source from the given Path for a specific environment.
aclToken(String) - Method in class org.confng.sources.ConsulConfigSource.Builder
 
addChangeListener(ConfigChangeListener) - Static method in class org.confng.ConfNG
Adds a listener to be notified when configuration values change.
addChangeListener(ConfigChangeListener) - Method in class org.confng.reload.ConfigReloadManager
Adds a configuration change listener.
addKeyMapping(String, String) - Method in class org.confng.sources.SecretManagerSource
Maps a configuration key to a secret identifier.
addMethodParameters(String, Map<String, String>) - Method in class org.confng.sources.TestNGParameterSource
Adds method-level parameters for a specific test method.
addSensitivePattern(String) - Method in class org.confng.metrics.ConfigLogger.Builder
 
addSource(ConfigSource) - Static method in class org.confng.ConfNG
Adds a configuration source with automatic priority-based ordering.
addSuiteParameters(Map<String, String>) - Method in class org.confng.sources.TestNGParameterSource
Adds suite-level parameters from TestNG suite configuration.
addTestParameters(String, Map<String, String>) - Method in class org.confng.sources.TestNGParameterSource
Adds test-level parameters for a specific test context.
AesEncryptionProvider - Class in org.confng.encryption
AES-256-GCM encryption provider for secure configuration values.
AesEncryptionProvider(byte[]) - Constructor for class org.confng.encryption.AesEncryptionProvider
Creates a new AES encryption provider with the given key bytes.
AesEncryptionProvider(SecretKey) - Constructor for class org.confng.encryption.AesEncryptionProvider
Creates a new AES encryption provider with the given SecretKey.
afterInvocation(IInvokedMethod, ITestResult) - Method in interface org.confng.testng.ConfNGListener
Called after a method is invoked (IInvokedMethodListener).
afterInvocation(IInvokedMethod, ITestResult) - Method in class org.confng.testng.TestNGParameterListener
Called after a method is invoked.
afterMethodInvocation(ITestContext, String) - Method in interface org.confng.testng.ConfNGListener
Called after a method is invoked (simplified version for convenience).
application(String) - Method in class org.confng.sources.SpringCloudConfigSource.Builder
 
asMap() - Method in class org.confng.integration.micronaut.ConfNGPropertySourceLoader
Creates a Micronaut-compatible PropertySource map.
autoLoadConfig() - Static method in class org.confng.ConfNG
Automatically detects the current environment and loads appropriate configuration files.

B

basicAuth(String, String) - Method in class org.confng.sources.HttpConfigSource.Builder
 
bearerToken(String) - Method in class org.confng.sources.HttpConfigSource.Builder
 
beforeInvocation(IInvokedMethod, ITestResult) - Method in interface org.confng.testng.ConfNGListener
Called before a method is invoked (IInvokedMethodListener).
beforeInvocation(IInvokedMethod, ITestResult) - Method in class org.confng.testng.TestNGParameterListener
Called before a method is invoked.
beforeMethodInvocation(ITestContext, String) - Method in interface org.confng.testng.ConfNGListener
Called before a method is invoked (simplified version for convenience).
build() - Method in class org.confng.metrics.ConfigLogger.Builder
 
build() - Method in class org.confng.sources.ConsulConfigSource.Builder
 
build() - Method in class org.confng.sources.HttpConfigSource.Builder
 
build() - Method in class org.confng.sources.SpringCloudConfigSource.Builder
 
builder() - Static method in class org.confng.metrics.ConfigLogger
Creates a new builder for customized logging.
builder() - Static method in class org.confng.sources.ConsulConfigSource
Builder for creating ConsulConfigSource instances.
builder() - Static method in class org.confng.sources.HttpConfigSource
Builder for creating HttpConfigSource instances.
builder() - Static method in class org.confng.sources.SpringCloudConfigSource
Builder for creating SpringCloudConfigSource instances.
Builder() - Constructor for class org.confng.metrics.ConfigLogger.Builder
 
Builder() - Constructor for class org.confng.sources.ConsulConfigSource.Builder
 
Builder() - Constructor for class org.confng.sources.HttpConfigSource.Builder
 
Builder() - Constructor for class org.confng.sources.SpringCloudConfigSource.Builder
 

C

cacheEnabled - Variable in class org.confng.sources.SecretManagerSource
 
cacheTimeoutMs - Variable in class org.confng.sources.SecretManagerSource
 
cacheTimeoutMs(long) - Method in class org.confng.sources.ConsulConfigSource.Builder
 
cacheTimeoutMs(long) - Method in class org.confng.sources.HttpConfigSource.Builder
 
cacheTimeoutMs(long) - Method in class org.confng.sources.SpringCloudConfigSource.Builder
 
cacheTimestamps - Variable in class org.confng.sources.SecretManagerSource
 
clearAllParameters() - Method in class org.confng.sources.TestNGParameterSource
Clears all parameters (suite, test, and method level).
clearCache() - Method in class org.confng.sources.SecretManagerSource
Clears the secret cache.
clearMethodParameters(String) - Method in class org.confng.sources.TestNGParameterSource
Clears method-level parameters for a specific method.
clearSensitivePatterns() - Method in class org.confng.metrics.ConfigLogger.Builder
 
clearSourcesAndUseDefaults() - Static method in class org.confng.ConfNG
 
clearSuiteParameters() - Method in class org.confng.sources.TestNGParameterSource
Clears suite-level parameters.
clearTestParameters(String) - Method in class org.confng.sources.TestNGParameterSource
Clears test-level parameters for a specific test context.
close() - Method in class org.confng.reload.ConfigReloadManager
 
close() - Method in class org.confng.reload.FileWatchService
 
ConfigChangeEvent(Set<String>, Map<String, String>, Map<String, String>, String) - Constructor for class org.confng.reload.ConfigChangeListener.ConfigChangeEvent
 
ConfigChangeListener - Interface in org.confng.reload
Listener interface for receiving notifications when configuration values change.
ConfigChangeListener.ConfigChangeEvent - Class in org.confng.reload
Event object containing details about configuration changes.
ConfigDiscovery - Class in org.confng.internal
Internal helper class responsible for discovering configuration keys.
ConfigKeyGenerator - Class in org.confng.generator
Generates ConfNGKey enum classes from YAML, JSON, or Properties schema files.
ConfigKeyGenerator() - Constructor for class org.confng.generator.ConfigKeyGenerator
 
ConfigLoader - Class in org.confng.internal
Internal helper class responsible for loading configuration files.
ConfigLogger - Class in org.confng.metrics
Utility for logging loaded configuration at startup with masked sensitive values.
ConfigLogger.Builder - Class in org.confng.metrics
 
ConfigMetrics - Class in org.confng.metrics
Tracks configuration access metrics including lookup counts, cache hits, and timing.
ConfigReloadManager - Class in org.confng.reload
Manages configuration reloading and change notifications.
ConfigResolver - Class in org.confng.internal
Internal helper class responsible for resolving configuration values.
ConfigResolver(Supplier<List<ConfigSource>>, Supplier<List<ConfNGKey>>) - Constructor for class org.confng.internal.ConfigResolver
 
ConfigSource - Interface in org.confng.sources
Interface for configuration sources used by ConfNG.
ConfigSourceInfo - Class in org.confng.api
Contains information about which configuration source provided a value.
ConfigSourceInfo(String, String, int, String, boolean, boolean) - Constructor for class org.confng.api.ConfigSourceInfo
Creates a new ConfigSourceInfo.
ConfigurationException - Exception in org.confng.api
Exception thrown when a required configuration value is missing or invalid.
ConfigurationException(String) - Constructor for exception org.confng.api.ConfigurationException
Creates a new ConfigurationException for a missing required configuration.
ConfigurationException(String, String) - Constructor for exception org.confng.api.ConfigurationException
Creates a new ConfigurationException with a custom message.
ConfigurationException(String, String, Throwable) - Constructor for exception org.confng.api.ConfigurationException
Creates a new ConfigurationException with a cause.
ConfigValidator - Class in org.confng.validation
Validates configuration values against defined constraints.
ConfigValidator(Function<ConfNGKey, String>) - Constructor for class org.confng.validation.ConfigValidator
Creates a new ConfigValidator with the given value resolver.
ConfNG - Class in org.confng
Main configuration management class for ConfNG.
ConfNG() - Constructor for class org.confng.ConfNG
 
ConfNGKey - Interface in org.confng.api
Interface for configuration keys used by ConfNG.
ConfNGListener - Interface in org.confng.testng
Interface for custom ConfNG listeners that can be executed before or after the standard TestNGParameterListener.
ConfNGPropertySource - Class in org.confng.integration.spring
Spring PropertySource adapter for ConfNG.
ConfNGPropertySource(String) - Constructor for class org.confng.integration.spring.ConfNGPropertySource
Creates a ConfNG property source that exposes all registered sources.
ConfNGPropertySource(String, Class<E>) - Constructor for class org.confng.integration.spring.ConfNGPropertySource
Creates a ConfNG property source with the given name and key class.
ConfNGPropertySourceLoader - Class in org.confng.integration.micronaut
Micronaut PropertySourceLoader adapter for ConfNG.
ConfNGPropertySourceLoader() - Constructor for class org.confng.integration.micronaut.ConfNGPropertySourceLoader
Creates a ConfNG property source loader that loads all available properties.
ConfNGPropertySourceLoader(Class<E>) - Constructor for class org.confng.integration.micronaut.ConfNGPropertySourceLoader
Creates a ConfNG property source loader with the given key class.
connectTimeoutMs(int) - Method in class org.confng.sources.ConsulConfigSource.Builder
 
connectTimeoutMs(int) - Method in class org.confng.sources.HttpConfigSource.Builder
 
connectTimeoutMs(int) - Method in class org.confng.sources.SpringCloudConfigSource.Builder
 
ConsulConfigSource - Class in org.confng.sources
Configuration source that fetches configuration from HashiCorp Consul KV store.
ConsulConfigSource(String) - Constructor for class org.confng.sources.ConsulConfigSource
Creates a new Consul config source with default settings.
ConsulConfigSource(String, int, String, String, boolean, int, int, long, int) - Constructor for class org.confng.sources.ConsulConfigSource
Creates a new Consul config source with custom settings.
ConsulConfigSource(String, int, String, String, boolean, int, int, long, int, int, long) - Constructor for class org.confng.sources.ConsulConfigSource
Creates a new Consul config source with custom settings including retry configuration.
ConsulConfigSource.Builder - Class in org.confng.sources
 
containsProperty(String) - Method in class org.confng.integration.spring.ConfNGPropertySource
Checks if this property source contains the given property.

D

decrypt(String) - Method in class org.confng.encryption.AesEncryptionProvider
 
decrypt(String) - Method in interface org.confng.encryption.EncryptionProvider
Decrypts an encrypted value.
decryptIfNeeded(ConfNGKey, String) - Method in class org.confng.encryption.EncryptionManager
Decrypts a value if it appears to be encrypted and the key is marked with @Encrypted.
decryptValue(String, EncryptionProvider, boolean) - Method in class org.confng.encryption.EncryptionManager
Decrypts a value using the specified provider.
disableAutoReload() - Static method in class org.confng.ConfNG
Disables automatic reloading of configuration files.
disableAutoReload() - Method in class org.confng.reload.ConfigReloadManager
Disables automatic reloading.
discoverAllConfigKeys(String...) - Static method in class org.confng.ConfNG
Discovers all ConfNGKey implementations in the classpath.
discoverAllConfigKeys(String...) - Static method in class org.confng.internal.ConfigDiscovery
Discovers all ConfNGKey implementations in the classpath.
doLogConfiguration(Class<E>) - Method in class org.confng.metrics.ConfigLogger
Logs configuration with the current settings.

E

enableAutoReload() - Static method in class org.confng.ConfNG
Enables automatic reloading of configuration when files change.
enableAutoReload() - Method in class org.confng.reload.ConfigReloadManager
Enables automatic reloading when configuration files change.
enableAutoReload(long) - Static method in class org.confng.ConfNG
Enables automatic reloading with a custom debounce time.
enableAutoReload(long) - Method in class org.confng.reload.ConfigReloadManager
Enables automatic reloading with custom debounce time.
encrypt(String) - Static method in class org.confng.ConfNG
Encrypts a value using the default encryption provider.
encrypt(String) - Method in class org.confng.encryption.AesEncryptionProvider
 
encrypt(String) - Method in class org.confng.encryption.EncryptionManager
Encrypts a value using the default provider.
encrypt(String) - Method in interface org.confng.encryption.EncryptionProvider
Encrypts a plain text value.
encrypt(String, String) - Static method in class org.confng.ConfNG
Encrypts a value using a named encryption provider.
encrypt(String, String) - Method in class org.confng.encryption.EncryptionManager
Encrypts a value using a named provider.
Encrypted - Annotation Type in org.confng.encryption
Annotation to mark configuration keys that contain encrypted values.
EncryptionException - Exception in org.confng.encryption
Exception thrown when encryption or decryption operations fail.
EncryptionException(String) - Constructor for exception org.confng.encryption.EncryptionException
 
EncryptionException(String, Throwable) - Constructor for exception org.confng.encryption.EncryptionException
 
EncryptionException(Throwable) - Constructor for exception org.confng.encryption.EncryptionException
 
EncryptionManager - Class in org.confng.encryption
Manages encryption providers and handles decryption of configuration values.
EncryptionProvider - Interface in org.confng.encryption
Interface for encryption/decryption providers.
environment - Variable in class org.confng.sources.AbstractFileConfigSource
The environment section that was loaded, or null for all top-level keys
EnvSource - Class in org.confng.sources
Configuration source that reads from environment variables.
EnvSource() - Constructor for class org.confng.sources.EnvSource
Creates a new EnvSource using System.getenv().
EnvSource(Map<String, String>) - Constructor for class org.confng.sources.EnvSource
Creates a new EnvSource with custom environment (for testing).
executeAfterInvocation(IInvokedMethod, ITestResult) - Method in class org.confng.testng.TestNGListenerChain
Executes all listeners' afterInvocation method (IInvokedMethodListener) in priority order.
executeAfterMethodInvocation(ITestContext, String) - Method in class org.confng.testng.TestNGListenerChain
Executes all listeners' afterMethodInvocation method in priority order.
executeBeforeInvocation(IInvokedMethod, ITestResult) - Method in class org.confng.testng.TestNGListenerChain
Executes all listeners' beforeInvocation method (IInvokedMethodListener) in priority order.
executeBeforeMethodInvocation(ITestContext, String) - Method in class org.confng.testng.TestNGListenerChain
Executes all listeners' beforeMethodInvocation method in priority order.
executeSuiteFinish(ISuite) - Method in class org.confng.testng.TestNGListenerChain
Executes all listeners' onSuiteFinish method in priority order.
executeSuiteStart(ISuite) - Method in class org.confng.testng.TestNGListenerChain
Executes all listeners' onSuiteStart method in priority order.
executeTestContextFinish(ITestContext) - Method in class org.confng.testng.TestNGListenerChain
Executes all listeners' onFinish method (ITestListener) in priority order.
executeTestContextStart(ITestContext) - Method in class org.confng.testng.TestNGListenerChain
Executes all listeners' onStart method (ITestListener) in priority order.
executeTestFailedButWithinSuccessPercentage(ITestResult) - Method in class org.confng.testng.TestNGListenerChain
Executes all listeners' onTestFailedButWithinSuccessPercentage method in priority order.
executeTestFailedWithTimeout(ITestResult) - Method in class org.confng.testng.TestNGListenerChain
Executes all listeners' onTestFailedWithTimeout method in priority order.
executeTestFailure(ITestResult) - Method in class org.confng.testng.TestNGListenerChain
Executes all listeners' onTestFailure method in priority order.
executeTestSkipped(ITestResult) - Method in class org.confng.testng.TestNGListenerChain
Executes all listeners' onTestSkipped method in priority order.
executeTestStart(ITestResult) - Method in class org.confng.testng.TestNGListenerChain
Executes all listeners' onTestStart method in priority order.
executeTestSuccess(ITestResult) - Method in class org.confng.testng.TestNGListenerChain
Executes all listeners' onTestSuccess method in priority order.
exists() - Method in class org.confng.util.FileResolver.ResolvedFile
Checks if the file exists (either in filesystem or classpath).
exists(String) - Static method in class org.confng.util.FileResolver
Checks if a file exists in either filesystem or classpath.
extractEnvironmentSection(JsonObject, String, String) - Method in class org.confng.sources.JsonSource
 
extractEnvironmentSection(Map<String, Object>, String, String) - Method in class org.confng.sources.YamlSource
 
extractEnvironmentSection(TomlTable, String, String) - Method in class org.confng.sources.TomlSource
 
extractEnvironmentSection(T, String, String) - Method in class org.confng.sources.AbstractFileConfigSource
Extracts the environment-specific section from the parsed configuration.
extractPayload(String) - Method in interface org.confng.encryption.EncryptionProvider
Extracts the encrypted payload from a wrapped value.

F

failOnError() - Method in annotation type org.confng.encryption.Encrypted
Whether to fail if decryption fails.
fetchSecret(String) - Method in class org.confng.sources.SecretManagerSource
Fetches a secret from the secret manager.
FileResolver - Class in org.confng.util
Utility class for resolving and reading configuration files from both filesystem and classpath (including JAR resources).
FileResolver() - Constructor for class org.confng.util.FileResolver
 
FileResolver.ResolvedFile - Class in org.confng.util
Result of file resolution containing the resolved path and metadata.
FileWatchService - Class in org.confng.reload
Background service that watches configuration files for changes.
FileWatchService(Consumer<Path>) - Constructor for class org.confng.reload.FileWatchService
Creates a new file watch service with default 1 second debounce.
FileWatchService(Consumer<Path>, long) - Constructor for class org.confng.reload.FileWatchService
Creates a new file watch service.
fromBase64Key(String) - Static method in class org.confng.encryption.AesEncryptionProvider
Creates an AES encryption provider from a Base64-encoded key.
fromDefault(String, String, boolean) - Static method in class org.confng.api.ConfigSourceInfo
Creates a ConfigSourceInfo for a value from the key's default.
fromEnvironment() - Static method in class org.confng.encryption.AesEncryptionProvider
Creates an AES encryption provider from the CONFNG_ENCRYPTION_KEY environment variable.
fromProperty(String) - Static method in class org.confng.encryption.AesEncryptionProvider
Creates an AES encryption provider from a system property or environment variable.

G

generateFromJson(String, String) - Method in class org.confng.generator.ConfigKeyGenerator
Generates a ConfNGKey enum from a JSON schema file.
generateFromProperties(String, String) - Method in class org.confng.generator.ConfigKeyGenerator
Generates a ConfNGKey enum from an existing properties file.
generateFromYaml(String, String) - Method in class org.confng.generator.ConfigKeyGenerator
Generates a ConfNGKey enum from a YAML schema file.
generateTemplate(Class<E>, String, String) - Method in class org.confng.generator.TemplateGenerator
Generates a configuration template for a specific environment.
generateTemplates(Class<E>, String) - Method in class org.confng.generator.TemplateGenerator
Generates configuration templates for all configured environments.
get(String) - Method in class org.confng.integration.micronaut.ConfNGPropertySourceLoader
Gets a property value.
get(String) - Method in class org.confng.sources.AbstractFileConfigSource
 
get(String) - Method in interface org.confng.sources.ConfigSource
Retrieves a configuration value for the given key.
get(String) - Method in class org.confng.sources.ConsulConfigSource
 
get(String) - Method in class org.confng.sources.EnvSource
 
get(String) - Method in class org.confng.sources.HttpConfigSource
 
get(String) - Method in class org.confng.sources.PropertiesSource
 
get(String) - Method in class org.confng.sources.SecretManagerSource
 
get(String) - Method in class org.confng.sources.SpringCloudConfigSource
 
get(String) - Method in class org.confng.sources.SystemPropertySource
 
get(String) - Method in class org.confng.sources.TestNGParameterSource
 
get(ConfNGKey) - Static method in class org.confng.ConfNG
Gets a configuration value for the given key.
get(ConfNGKey) - Method in class org.confng.internal.ConfigResolver
Gets a configuration value for the given key.
getActualValue() - Method in class org.confng.validation.ValidationError
Gets the actual value that failed validation.
getAllForDisplay(ConfNGKey...) - Static method in class org.confng.ConfNG
Gets all configuration values for display purposes.
getAllForDisplay(ConfNGKey...) - Method in class org.confng.internal.ConfigResolver
Gets all configuration values for display purposes.
getAllParameters() - Method in class org.confng.sources.TestNGParameterSource
Gets all parameters in precedence order.
getAllSourceInfo(List<ConfNGKey>) - Static method in class org.confng.ConfNG
Gets source information for a list of configuration keys.
getAllSourceInfo(List<ConfNGKey>) - Method in class org.confng.internal.ConfigResolver
Gets source information for all resolved configuration keys.
getAllSourceInfo(ConfNGKey...) - Static method in class org.confng.ConfNG
Gets source information for multiple configuration keys.
getAllSourceInfo(ConfNGKey...) - Method in class org.confng.internal.ConfigResolver
Gets source information for all resolved configuration keys.
getBoolean(ConfNGKey) - Static method in class org.confng.ConfNG
Gets a configuration value as a boolean.
getBoolean(ConfNGKey) - Method in class org.confng.internal.ConfigResolver
Gets a configuration value as a boolean.
getByPrefix(String) - Static method in class org.confng.ConfNG
Gets all configuration values that match a given prefix.
getByPrefix(String) - Method in class org.confng.internal.ConfigResolver
Gets all configuration values that match a given prefix.
getByPrefixWithInfo(String, List<ConfNGKey>) - Static method in class org.confng.ConfNG
Gets all configuration values that match a given prefix, with source information.
getByPrefixWithInfo(String, List<ConfNGKey>) - Method in class org.confng.internal.ConfigResolver
Gets all configuration values that match a given prefix, with source information.
getCacheHitRate() - Method in class org.confng.metrics.ConfigMetrics
 
getCacheHits() - Method in class org.confng.metrics.ConfigMetrics
 
getCacheMisses() - Method in class org.confng.metrics.ConfigMetrics
 
getCacheSize() - Method in class org.confng.sources.SecretManagerSource
Gets the number of cached secrets.
getChangedKeys() - Method in class org.confng.reload.ConfigChangeListener.ConfigChangeEvent
Gets the set of keys that have changed.
getConfigValue(String) - Method in class org.confng.internal.ConfigResolver
Gets a configuration value for a given key string.
getConfigValueCaseInsensitive(String) - Method in class org.confng.internal.ConfigResolver
Gets a configuration value using case-insensitive key matching.
getConstraintType() - Method in class org.confng.validation.ValidationError
Gets the type of constraint that was violated.
getCurrentTestName() - Method in class org.confng.sources.TestNGParameterSource
Gets the name of the current test context.
getDecryptionAttempts() - Method in class org.confng.metrics.ConfigMetrics
 
getDecryptionFailures() - Method in class org.confng.metrics.ConfigMetrics
 
getDefaultProvider() - Method in class org.confng.encryption.EncryptionManager
Gets the default encryption provider.
getDefaultValue() - Method in interface org.confng.api.ConfNGKey
Returns the default value for this configuration key.
getDefaultValueUsed() - Method in class org.confng.metrics.ConfigMetrics
 
getDouble(ConfNGKey) - Static method in class org.confng.ConfNG
Gets a configuration value as a double.
getDouble(ConfNGKey) - Method in class org.confng.internal.ConfigResolver
Gets a configuration value as a double.
getDuration(ConfNGKey) - Static method in class org.confng.ConfNG
Gets a configuration value as a Duration.
getDuration(ConfNGKey) - Method in class org.confng.internal.ConfigResolver
Gets a configuration value as a Duration.
getEnvironmentName() - Static method in class org.confng.ConfNG
Detects the current environment name by checking multiple configuration keys in order.
getErrorCount() - Method in class org.confng.validation.ValidationResult
Gets the number of validation errors.
getErrorMessage() - Method in exception org.confng.api.ConfigurationException
Gets the error message.
getErrors() - Method in class org.confng.validation.ValidationResult
Gets all validation errors.
getErrorsByType(ValidationError.ConstraintType) - Method in class org.confng.validation.ValidationResult
Gets validation errors of a specific constraint type.
getErrorsForKey(String) - Method in class org.confng.validation.ValidationResult
Gets validation errors for a specific key.
getExtensions() - Method in class org.confng.integration.micronaut.ConfNGPropertySourceLoader
Gets the extensions this loader supports.
getFileName() - Method in class org.confng.util.FileResolver.ResolvedFile
Gets the original filename (without path).
getFileName(String) - Static method in class org.confng.util.FileResolver
Gets the filename (without path) from a file path.
getForDisplay(ConfNGKey) - Static method in class org.confng.ConfNG
Gets a configuration value with masking for sensitive data.
getForDisplay(ConfNGKey) - Method in class org.confng.internal.ConfigResolver
Gets a configuration value with masking for sensitive data.
getFromSources(String) - Static method in class org.confng.ConfNG
Gets a configuration value by string key directly from registered sources.
getFromSources(String) - Method in class org.confng.internal.ConfigResolver
Gets a configuration value by string key directly from registered sources.
getInstance() - Static method in class org.confng.encryption.EncryptionManager
Gets the singleton instance.
getInstance() - Static method in class org.confng.metrics.ConfigMetrics
Gets the singleton instance.
getInstance() - Static method in class org.confng.reload.ConfigReloadManager
Gets the singleton instance of the reload manager.
getInstance() - Static method in class org.confng.testng.TestNGListenerChain
Gets the singleton instance of the listener chain.
getInt(ConfNGKey) - Static method in class org.confng.ConfNG
Gets a configuration value as an integer.
getInt(ConfNGKey) - Method in class org.confng.internal.ConfigResolver
Gets a configuration value as an integer.
getKey() - Method in class org.confng.api.ConfigSourceInfo
Gets the configuration key.
getKey() - Method in exception org.confng.api.ConfigurationException
Gets the configuration key that caused this exception.
getKey() - Method in interface org.confng.api.ConfNGKey
Returns the configuration key identifier.
getKey() - Method in class org.confng.validation.ValidationError
Gets the configuration key that failed validation.
getKeyLookupCounts() - Method in class org.confng.metrics.ConfigMetrics
 
getKeysWithPrefix(String) - Static method in class org.confng.ConfNG
Gets all configuration keys that match a given prefix.
getKeysWithPrefix(String) - Method in class org.confng.internal.ConfigResolver
Gets all configuration keys that match a given prefix.
getList(ConfNGKey) - Static method in class org.confng.ConfNG
Gets a configuration value as a list of strings.
getList(ConfNGKey) - Method in class org.confng.internal.ConfigResolver
Gets a configuration value as a list of strings.
getList(ConfNGKey, String) - Static method in class org.confng.ConfNG
Gets a configuration value as a list of strings with a custom delimiter.
getList(ConfNGKey, String) - Method in class org.confng.internal.ConfigResolver
Gets a configuration value as a list of strings with a custom delimiter.
getListeners() - Method in class org.confng.testng.TestNGListenerChain
Gets all registered listeners in priority order.
getLong(ConfNGKey) - Static method in class org.confng.ConfNG
Gets a configuration value as a long.
getLong(ConfNGKey) - Method in class org.confng.internal.ConfigResolver
Gets a configuration value as a long.
getLookupCount(String) - Method in class org.confng.metrics.ConfigMetrics
Gets the lookup count for a specific key.
getMessage() - Method in class org.confng.validation.ValidationError
Gets the error message.
getMethodParameters(String) - Method in class org.confng.sources.TestNGParameterSource
Gets method parameters for a specific method.
getMissingRequiredKeys() - Method in class org.confng.metrics.ConfigMetrics
 
getName() - Method in class org.confng.encryption.AesEncryptionProvider
 
getName() - Method in interface org.confng.encryption.EncryptionProvider
Gets the name of this encryption provider.
getName() - Method in class org.confng.integration.micronaut.ConfNGPropertySourceLoader
Gets the source name.
getName() - Method in class org.confng.integration.spring.ConfNGPropertySource
Gets the name of this property source.
getName() - Method in class org.confng.sources.AbstractFileConfigSource
 
getName() - Method in interface org.confng.sources.ConfigSource
Returns the name of this configuration source.
getName() - Method in class org.confng.sources.ConsulConfigSource
 
getName() - Method in class org.confng.sources.EnvSource
 
getName() - Method in class org.confng.sources.HttpConfigSource
 
getName() - Method in class org.confng.sources.PropertiesSource
 
getName() - Method in class org.confng.sources.SpringCloudConfigSource
 
getName() - Method in class org.confng.sources.SystemPropertySource
 
getName() - Method in class org.confng.sources.TestNGParameterSource
 
getNewValue(String) - Method in class org.confng.reload.ConfigChangeListener.ConfigChangeEvent
Gets the new value for a key after the change.
getNewValues() - Method in class org.confng.reload.ConfigChangeListener.ConfigChangeEvent
Gets all new values.
getOldValue(String) - Method in class org.confng.reload.ConfigChangeListener.ConfigChangeEvent
Gets the old value for a key before the change.
getOldValues() - Method in class org.confng.reload.ConfigChangeListener.ConfigChangeEvent
Gets all old values.
getOptional(ConfNGKey) - Static method in class org.confng.ConfNG
Gets a configuration value as an Optional.
getOptional(ConfNGKey) - Method in class org.confng.internal.ConfigResolver
Gets a configuration value as an Optional.
getOrDefault(ConfNGKey, String) - Static method in class org.confng.ConfNG
Gets a configuration value with a fallback default.
getOrDefault(ConfNGKey, String) - Method in class org.confng.internal.ConfigResolver
Gets a configuration value with a fallback default.
getOrder() - Method in class org.confng.integration.micronaut.ConfNGPropertySourceLoader
Gets the order of this loader (lower = higher priority).
getParameterSource() - Static method in class org.confng.testng.TestNGParameterListener
Gets the current TestNG parameter source.
getPath() - Method in class org.confng.util.FileResolver.ResolvedFile
Gets the resolved path that can be used for reading the file.
getPriority() - Method in class org.confng.api.ConfigSourceInfo
Gets the priority of the source.
getPriority() - Method in class org.confng.sources.AbstractFileConfigSource
 
getPriority() - Method in interface org.confng.sources.ConfigSource
Returns the priority of this configuration source.
getPriority() - Method in class org.confng.sources.ConsulConfigSource
 
getPriority() - Method in class org.confng.sources.EnvSource
 
getPriority() - Method in class org.confng.sources.HttpConfigSource
 
getPriority() - Method in class org.confng.sources.PropertiesSource
 
getPriority() - Method in class org.confng.sources.SecretManagerSource
 
getPriority() - Method in class org.confng.sources.SpringCloudConfigSource
 
getPriority() - Method in class org.confng.sources.SystemPropertySource
 
getPriority() - Method in class org.confng.sources.TestNGParameterSource
 
getPriority() - Method in interface org.confng.testng.ConfNGListener
Returns the priority of this listener.
getPriority() - Method in class org.confng.testng.TestNGParameterListener
Returns the priority of this listener in the listener chain.
getProperty(String) - Method in class org.confng.integration.spring.ConfNGPropertySource
Gets a property value by name.
getPropertyNames() - Method in class org.confng.integration.micronaut.ConfNGPropertySourceLoader
Gets all property names.
getPropertyNames() - Method in class org.confng.integration.spring.ConfNGPropertySource
Gets all property names.
getProvider(String) - Method in class org.confng.encryption.EncryptionManager
Gets a named encryption provider.
getRawValue() - Method in class org.confng.api.ConfigSourceInfo
Gets the raw value without masking.
getRequired(ConfNGKey) - Static method in class org.confng.ConfNG
Gets a required configuration value.
getRequired(ConfNGKey) - Method in class org.confng.internal.ConfigResolver
Gets a required configuration value.
getResolvedKeys() - Static method in class org.confng.ConfNG
Gets all resolved configuration keys.
getResolvedKeys() - Method in class org.confng.internal.ConfigResolver
Gets all resolved configuration keys.
getResolvedValueCount() - Static method in class org.confng.ConfNG
Gets the number of resolved configuration values.
getResolvedValueCount() - Method in class org.confng.internal.ConfigResolver
Gets the number of resolved configuration values.
getSharedContext() - Method in class org.confng.testng.TestNGListenerChain
Gets the shared context map that can be used to pass data between listeners.
getSource() - Method in class org.confng.reload.ConfigChangeListener.ConfigChangeEvent
Gets the source that triggered the change (e.g., file path).
getSourceInfo(ConfNGKey) - Static method in class org.confng.ConfNG
Gets information about which source provided the value for a configuration key.
getSourceInfo(ConfNGKey) - Method in class org.confng.internal.ConfigResolver
Gets information about which source provided the value for a configuration key.
getSourceLookupCount(String) - Method in class org.confng.metrics.ConfigMetrics
Gets the lookup count for a specific source.
getSourceLookupCounts() - Method in class org.confng.metrics.ConfigMetrics
 
getSourceName() - Method in class org.confng.api.ConfigSourceInfo
Gets the name of the source that provided the value.
getSourceTypePrefix() - Method in class org.confng.sources.AbstractFileConfigSource
Returns the source type prefix for the source name (e.g., "Json", "Yaml", "Toml").
getSourceTypePrefix() - Method in class org.confng.sources.JsonSource
 
getSourceTypePrefix() - Method in class org.confng.sources.TomlSource
 
getSourceTypePrefix() - Method in class org.confng.sources.YamlSource
 
getSuiteParameters() - Method in class org.confng.sources.TestNGParameterSource
Gets all suite parameters.
getSummary() - Method in class org.confng.validation.ValidationResult
Gets a formatted summary of all validation errors.
getTestParameters() - Method in class org.confng.sources.TestNGParameterSource
Gets all test parameters for all test contexts.
getTestParameters(String) - Method in class org.confng.sources.TestNGParameterSource
Gets test parameters for a specific test context.
getTimestamp() - Method in class org.confng.reload.ConfigChangeListener.ConfigChangeEvent
Gets the timestamp when the change was detected.
getTotalLookups() - Method in class org.confng.metrics.ConfigMetrics
 
getUptimeMs() - Method in class org.confng.metrics.ConfigMetrics
 
getValue() - Method in class org.confng.api.ConfigSourceInfo
Gets the resolved value.
getValueFromRoot(String) - Method in class org.confng.sources.AbstractFileConfigSource
Gets a value from the parsed configuration using the given key.
getValueFromRoot(String) - Method in class org.confng.sources.JsonSource
 
getValueFromRoot(String) - Method in class org.confng.sources.TomlSource
 
getValueFromRoot(String) - Method in class org.confng.sources.YamlSource
 
getWatchedFiles() - Method in class org.confng.reload.FileWatchService
Gets the set of files being watched.

H

handleSecretFetchError(String, String, Exception) - Method in class org.confng.sources.SecretManagerSource
Handles errors that occur while fetching secrets.
hasChanged(String) - Method in class org.confng.reload.ConfigChangeListener.ConfigChangeEvent
Checks if a specific key has changed.
hasErrors() - Method in class org.confng.validation.ValidationResult
Checks if the validation failed (has errors).
header(String, String) - Method in class org.confng.sources.HttpConfigSource.Builder
 
host(String) - Method in class org.confng.sources.ConsulConfigSource.Builder
 
HttpConfigSource - Class in org.confng.sources
Configuration source that fetches configuration from HTTP/REST endpoints.
HttpConfigSource(String) - Constructor for class org.confng.sources.HttpConfigSource
Creates a new HTTP config source with default settings.
HttpConfigSource(String, Map<String, String>, int, int, long, int) - Constructor for class org.confng.sources.HttpConfigSource
Creates a new HTTP config source with custom settings.
HttpConfigSource(String, Map<String, String>, int, int, long, int, int, long) - Constructor for class org.confng.sources.HttpConfigSource
Creates a new HTTP config source with custom settings including retry configuration.
HttpConfigSource.Builder - Class in org.confng.sources
 

I

initialize(ConfNGListener) - Method in class org.confng.testng.TestNGListenerChain
Initializes the listener chain by discovering and loading all registered listeners.
invalidate() - Method in class org.confng.internal.ConfigResolver
Invalidates the current resolution cache.
isAutoReloadEnabled() - Static method in class org.confng.ConfNG
Checks if automatic reloading is enabled.
isAutoReloadEnabled() - Method in class org.confng.reload.ConfigReloadManager
Checks if auto-reload is enabled.
isEnabled() - Method in class org.confng.integration.micronaut.ConfNGPropertySourceLoader
Checks if this loader is enabled.
isEnabled() - Method in class org.confng.metrics.ConfigMetrics
Checks if metrics collection is enabled.
isEncrypted(String) - Method in interface org.confng.encryption.EncryptionProvider
Checks if a value appears to be encrypted.
isFetchFailed() - Method in class org.confng.sources.HttpConfigSource
Checks if the last fetch failed.
isFound() - Method in class org.confng.api.ConfigSourceInfo
Checks if a value was found.
isFromClasspath() - Method in class org.confng.util.FileResolver.ResolvedFile
Checks if the file was found in the classpath.
isFromDefault() - Method in class org.confng.api.ConfigSourceInfo
Checks if the value came from the key's default.
isFromFilesystem() - Method in class org.confng.util.FileResolver.ResolvedFile
Checks if the file was found in the filesystem.
isResolved() - Static method in class org.confng.ConfNG
Checks if configuration values have been resolved.
isResolved() - Method in class org.confng.internal.ConfigResolver
Checks if configuration values have been resolved.
isRunning() - Method in class org.confng.reload.FileWatchService
Checks if the service is currently running.
isSensitive() - Method in class org.confng.api.ConfigSourceInfo
Checks if the value is sensitive.
isSensitive() - Method in interface org.confng.api.ConfNGKey
Indicates whether this configuration key contains sensitive information.
isSensitive() - Method in class org.confng.validation.ValidationError
Checks if the value is sensitive.
isValid() - Method in class org.confng.validation.ValidationResult
Checks if the validation passed (no errors).

J

JsonSource - Class in org.confng.sources
Configuration source that reads from JSON files.
JsonSource(String) - Constructor for class org.confng.sources.JsonSource
Creates a new JsonSource from the given file path (supports both filesystem and classpath).
JsonSource(String, String) - Constructor for class org.confng.sources.JsonSource
Creates a new JsonSource from the given file path for a specific environment (supports both filesystem and classpath).
JsonSource(Path) - Constructor for class org.confng.sources.JsonSource
Creates a new JsonSource from the given file.
JsonSource(Path, String) - Constructor for class org.confng.sources.JsonSource
Creates a new JsonSource from the given file for a specific environment.

K

keyMappings - Variable in class org.confng.sources.SecretManagerSource
 

L

label(String) - Method in class org.confng.sources.SpringCloudConfigSource.Builder
 
load(String) - Static method in class org.confng.ConfNG
Loads a configuration file by auto-detecting its type based on the file extension.
load(String) - Method in class org.confng.integration.micronaut.ConfNGPropertySourceLoader
Loads properties from ConfNG.
load(String, String) - Static method in class org.confng.ConfNG
Loads a configuration file with environment-specific section by auto-detecting its type.
load(String, String, Consumer<ConfigSource>) - Static method in class org.confng.internal.ConfigLoader
Loads a configuration file with environment-specific section.
load(String, Consumer<ConfigSource>) - Static method in class org.confng.internal.ConfigLoader
Loads a configuration file by auto-detecting its type based on the file extension.
loadConfigForEnvironment(String) - Static method in class org.confng.ConfNG
Loads all environment-specific configuration files for the given environment.
loadGlobalConfig() - Static method in class org.confng.ConfNG
Loads global/common configuration files that apply to all environments.
loadJson(String) - Static method in class org.confng.ConfNG
Loads a JSON file as a configuration source.
loadJson(String, String) - Static method in class org.confng.ConfNG
Loads a JSON file as a configuration source for a specific environment.
loadJson(String, String, Consumer<ConfigSource>) - Static method in class org.confng.internal.ConfigLoader
Loads a JSON file.
loadProperties(String) - Static method in class org.confng.ConfNG
Loads a properties file as a configuration source.
loadProperties(String, Consumer<ConfigSource>) - Static method in class org.confng.internal.ConfigLoader
Loads a properties file.
loadSecretSource(ConfigSource) - Static method in class org.confng.ConfNG
Loads a custom secret source.
loadToml(String) - Static method in class org.confng.ConfNG
Loads a TOML file as a configuration source.
loadToml(String, String) - Static method in class org.confng.ConfNG
Loads a TOML file as a configuration source for a specific environment.
loadToml(String, String, Consumer<ConfigSource>) - Static method in class org.confng.internal.ConfigLoader
Loads a TOML file.
loadYaml(String) - Static method in class org.confng.ConfNG
Loads a YAML file as a configuration source.
loadYaml(String, String) - Static method in class org.confng.ConfNG
Loads a YAML file as a configuration source for a specific environment.
loadYaml(String, String, Consumer<ConfigSource>) - Static method in class org.confng.internal.ConfigLoader
Loads a YAML file.
logConfiguration(Class<E>) - Method in class org.confng.metrics.ConfigLogger.Builder
 
logConfiguration(Class<E>) - Static method in class org.confng.metrics.ConfigLogger
Logs configuration for the given ConfNGKey enum class.
logLevel(String) - Method in class org.confng.metrics.ConfigLogger.Builder
 
logSummary() - Method in class org.confng.metrics.ConfigMetrics
Logs a summary of current metrics.

M

max() - Method in annotation type org.confng.validation.Range
The maximum allowed value (inclusive).
maxRetries(int) - Method in class org.confng.sources.ConsulConfigSource.Builder
 
maxRetries(int) - Method in class org.confng.sources.SpringCloudConfigSource.Builder
 
message() - Method in annotation type org.confng.validation.NotEmpty
Custom error message to use when validation fails.
message() - Method in annotation type org.confng.validation.Pattern
Custom error message to use when validation fails.
message() - Method in annotation type org.confng.validation.Range
Custom error message to use when validation fails.
message() - Method in annotation type org.confng.validation.Required
Custom error message to use when validation fails.
min() - Method in annotation type org.confng.validation.Range
The minimum allowed value (inclusive).

N

NOT_EMPTY - org.confng.validation.ValidationError.ConstraintType
Value is empty when it should not be
NotEmpty - Annotation Type in org.confng.validation
Marks a configuration key as requiring a non-empty value.
notFound(String) - Static method in class org.confng.api.ConfigSourceInfo
Creates a ConfigSourceInfo for a missing value.

O

onConfigChange(ConfigChangeListener.ConfigChangeEvent) - Method in interface org.confng.reload.ConfigChangeListener
Called when configuration values have changed.
onFinish(ISuite) - Method in class org.confng.testng.TestNGParameterListener
Called when a suite finishes (TestNG ISuiteListener method).
onFinish(ITestContext) - Method in interface org.confng.testng.ConfNGListener
Called when a test context finishes (ITestListener).
onFinish(ITestContext) - Method in class org.confng.testng.TestNGParameterListener
Called when a test context finishes (ITestListener).
onStart(ISuite) - Method in class org.confng.testng.TestNGParameterListener
Called when a suite starts.
onStart(ITestContext) - Method in interface org.confng.testng.ConfNGListener
Called when a test context starts (ITestListener).
onStart(ITestContext) - Method in class org.confng.testng.TestNGParameterListener
Called when a test context starts (ITestListener).
onSuiteFinish(ISuite) - Method in interface org.confng.testng.ConfNGListener
Called when a test suite finishes.
onSuiteFinish(ISuite) - Method in class org.confng.testng.TestNGParameterListener
Implementation of ConfNGListener.onSuiteFinish - called by the listener chain.
onSuiteStart(ISuite) - Method in interface org.confng.testng.ConfNGListener
Called when a test suite starts.
onSuiteStart(ISuite) - Method in class org.confng.testng.TestNGParameterListener
Implementation of ConfNGListener.onSuiteStart - this is called by the listener chain.
onTestFailedButWithinSuccessPercentage(ITestResult) - Method in interface org.confng.testng.ConfNGListener
Called when a test fails but is within the success percentage.
onTestFailedButWithinSuccessPercentage(ITestResult) - Method in class org.confng.testng.TestNGParameterListener
Called when a test fails but is within the success percentage.
onTestFailedWithTimeout(ITestResult) - Method in interface org.confng.testng.ConfNGListener
Called when a test fails with timeout.
onTestFailedWithTimeout(ITestResult) - Method in class org.confng.testng.TestNGParameterListener
Called when a test fails with timeout.
onTestFailure(ITestResult) - Method in interface org.confng.testng.ConfNGListener
Called when a test fails.
onTestFailure(ITestResult) - Method in class org.confng.testng.TestNGParameterListener
Called when a test fails.
onTestSkipped(ITestResult) - Method in interface org.confng.testng.ConfNGListener
Called when a test is skipped.
onTestSkipped(ITestResult) - Method in class org.confng.testng.TestNGParameterListener
Called when a test is skipped.
onTestStart(ITestResult) - Method in interface org.confng.testng.ConfNGListener
Called when a test starts.
onTestStart(ITestResult) - Method in class org.confng.testng.TestNGParameterListener
Called when a test starts.
onTestSuccess(ITestResult) - Method in interface org.confng.testng.ConfNGListener
Called when a test succeeds.
onTestSuccess(ITestResult) - Method in class org.confng.testng.TestNGParameterListener
Called when a test succeeds.
openInputStream(String) - Static method in class org.confng.util.FileResolver
Opens an InputStream for reading a file from either filesystem or classpath.
openReader(String) - Static method in class org.confng.util.FileResolver
Opens a Reader for reading a file from either filesystem or classpath.
org.confng - package org.confng
 
org.confng.api - package org.confng.api
 
org.confng.encryption - package org.confng.encryption
 
org.confng.generator - package org.confng.generator
 
org.confng.integration.micronaut - package org.confng.integration.micronaut
 
org.confng.integration.spring - package org.confng.integration.spring
 
org.confng.internal - package org.confng.internal
 
org.confng.metrics - package org.confng.metrics
 
org.confng.reload - package org.confng.reload
 
org.confng.sources - package org.confng.sources
 
org.confng.testng - package org.confng.testng
 
org.confng.util - package org.confng.util
 
org.confng.validation - package org.confng.validation
 

P

parseContent(Reader) - Method in class org.confng.sources.AbstractFileConfigSource
Parses the configuration content from a Reader.
parseContent(Reader) - Method in class org.confng.sources.JsonSource
 
parseContent(Reader) - Method in class org.confng.sources.TomlSource
 
parseContent(Reader) - Method in class org.confng.sources.YamlSource
 
password(String) - Method in class org.confng.sources.SpringCloudConfigSource.Builder
 
Pattern - Annotation Type in org.confng.validation
Validates that a configuration value matches a regular expression pattern.
PATTERN - org.confng.validation.ValidationError.ConstraintType
Value does not match the expected pattern
port(int) - Method in class org.confng.sources.ConsulConfigSource.Builder
 
prefix(String) - Method in class org.confng.sources.ConsulConfigSource.Builder
 
priority(int) - Method in class org.confng.sources.ConsulConfigSource.Builder
 
priority(int) - Method in class org.confng.sources.HttpConfigSource.Builder
 
priority(int) - Method in class org.confng.sources.SpringCloudConfigSource.Builder
 
profile(String) - Method in class org.confng.sources.SpringCloudConfigSource.Builder
 
PropertiesSource - Class in org.confng.sources
Configuration source that reads from Java properties files.
PropertiesSource(String) - Constructor for class org.confng.sources.PropertiesSource
Creates a new PropertiesSource from the given file path (supports both filesystem and classpath).
PropertiesSource(Path) - Constructor for class org.confng.sources.PropertiesSource
Creates a new PropertiesSource from the given file.
provider() - Method in annotation type org.confng.encryption.Encrypted
The name of the encryption provider to use.

R

Range - Annotation Type in org.confng.validation
Validates that a numeric configuration value is within a specified range.
RANGE - org.confng.validation.ValidationError.ConstraintType
Value is outside the allowed range
readTimeoutMs(int) - Method in class org.confng.sources.ConsulConfigSource.Builder
 
readTimeoutMs(int) - Method in class org.confng.sources.HttpConfigSource.Builder
 
readTimeoutMs(int) - Method in class org.confng.sources.SpringCloudConfigSource.Builder
 
recordDecryption(boolean) - Method in class org.confng.metrics.ConfigMetrics
Records a decryption attempt.
recordLookup(String, boolean, boolean) - Method in class org.confng.metrics.ConfigMetrics
Records a configuration lookup.
recordMissingRequired(String) - Method in class org.confng.metrics.ConfigMetrics
Records a missing required key.
recordSourceLookup(String) - Method in class org.confng.metrics.ConfigMetrics
Records a source lookup.
refresh() - Static method in class org.confng.ConfNG
Forces re-resolution of all configuration values.
refresh() - Method in class org.confng.internal.ConfigResolver
Forces re-resolution of all configuration values.
refresh() - Method in class org.confng.sources.ConsulConfigSource
Forces a refresh of the cached configuration.
refresh() - Method in class org.confng.sources.HttpConfigSource
Forces a refresh of the cached configuration.
refresh() - Method in class org.confng.sources.SpringCloudConfigSource
Forces a refresh of the cached configuration.
regex() - Method in annotation type org.confng.validation.Pattern
The regular expression pattern to match against.
registerEncryptionProvider(String, EncryptionProvider) - Static method in class org.confng.ConfNG
Registers a named encryption provider.
registerLoadedFile(String) - Method in class org.confng.reload.ConfigReloadManager
Registers a file that was loaded for potential watching.
registerProvider(String, EncryptionProvider) - Method in class org.confng.encryption.EncryptionManager
Registers a named encryption provider.
registerSource(ConfigSource) - Static method in class org.confng.ConfNG
 
registerSourceAt(int, ConfigSource) - Static method in class org.confng.ConfNG
 
removeChangeListener(ConfigChangeListener) - Static method in class org.confng.ConfNG
Removes a configuration change listener.
removeChangeListener(ConfigChangeListener) - Method in class org.confng.reload.ConfigReloadManager
Removes a configuration change listener.
Required - Annotation Type in org.confng.validation
Marks a configuration key as required.
REQUIRED - org.confng.validation.ValidationError.ConstraintType
Value is required but missing
reset() - Static method in class org.confng.encryption.EncryptionManager
Resets the singleton instance.
reset() - Method in class org.confng.metrics.ConfigMetrics
Resets all metrics.
reset() - Static method in class org.confng.reload.ConfigReloadManager
Resets the singleton instance.
resolve(String) - Static method in class org.confng.util.FileResolver
Resolves a file path by checking filesystem first, then classpath.
resolveAll() - Method in class org.confng.internal.ConfigResolver
Resolves all configuration values from all sources.
resolveAll(Set<String>) - Method in class org.confng.internal.ConfigResolver
Resolves configuration values for the specified keys.
resolveAllValues() - Static method in class org.confng.ConfNG
Resolves all configuration values from all sources according to precedence.
resolveAllValues(Set<String>) - Static method in class org.confng.ConfNG
Resolves configuration values for the specified keys from all sources.
retryDelayMs(long) - Method in class org.confng.sources.ConsulConfigSource.Builder
 
retryDelayMs(long) - Method in class org.confng.sources.SpringCloudConfigSource.Builder
 
root - Variable in class org.confng.sources.AbstractFileConfigSource
The parsed configuration root object

S

secretCache - Variable in class org.confng.sources.SecretManagerSource
 
SecretManagerSource - Class in org.confng.sources
Abstract base class for secret manager implementations.
SecretManagerSource() - Constructor for class org.confng.sources.SecretManagerSource
Creates a new secret manager source with caching disabled.
SecretManagerSource(long) - Constructor for class org.confng.sources.SecretManagerSource
Creates a new secret manager source with caching enabled.
serverUrl(String) - Method in class org.confng.sources.SpringCloudConfigSource.Builder
 
setCurrentTestName(String) - Method in class org.confng.sources.TestNGParameterSource
Sets the name of the current test context for the thread.
setDefaultProvider(EncryptionProvider) - Method in class org.confng.encryption.EncryptionManager
Sets the default encryption provider.
setEnabled(boolean) - Method in class org.confng.metrics.ConfigMetrics
Enables or disables metrics collection.
setEncryptionProvider(EncryptionProvider) - Static method in class org.confng.ConfNG
Sets the default encryption provider for decrypting configuration values.
setEnumName(String) - Method in class org.confng.generator.ConfigKeyGenerator
 
setEnvironments(List<String>) - Method in class org.confng.generator.TemplateGenerator
 
setFormat(String) - Method in class org.confng.generator.TemplateGenerator
 
setGenerateDefaultValues(boolean) - Method in class org.confng.generator.ConfigKeyGenerator
 
setGenerateJavadoc(boolean) - Method in class org.confng.generator.ConfigKeyGenerator
 
setIncludeComments(boolean) - Method in class org.confng.generator.TemplateGenerator
 
setIncludeDefaults(boolean) - Method in class org.confng.generator.TemplateGenerator
 
setMaskSensitiveDefaults(boolean) - Method in class org.confng.generator.TemplateGenerator
 
setPackageName(String) - Method in class org.confng.generator.ConfigKeyGenerator
 
showDefaults(boolean) - Method in class org.confng.metrics.ConfigLogger.Builder
 
showSources(boolean) - Method in class org.confng.metrics.ConfigLogger.Builder
 
sourceName - Variable in class org.confng.sources.AbstractFileConfigSource
The source name for display purposes
SpringCloudConfigSource - Class in org.confng.sources
Configuration source that fetches configuration from Spring Cloud Config Server.
SpringCloudConfigSource(String, String, String) - Constructor for class org.confng.sources.SpringCloudConfigSource
Creates a new Spring Cloud Config source with default settings.
SpringCloudConfigSource(String, String, String, String, String, String, int, int, long, int) - Constructor for class org.confng.sources.SpringCloudConfigSource
Creates a new Spring Cloud Config source with custom settings.
SpringCloudConfigSource(String, String, String, String, String, String, int, int, long, int, int, long) - Constructor for class org.confng.sources.SpringCloudConfigSource
Creates a new Spring Cloud Config source with custom settings including retry configuration.
SpringCloudConfigSource.Builder - Class in org.confng.sources
 
start() - Method in class org.confng.reload.FileWatchService
Starts the file watching service.
stop() - Method in class org.confng.reload.FileWatchService
Stops the file watching service.
SystemPropertySource - Class in org.confng.sources
Configuration source that reads from Java system properties.
SystemPropertySource() - Constructor for class org.confng.sources.SystemPropertySource
Creates a new SystemPropertySource using System.getProperties().
SystemPropertySource(Properties) - Constructor for class org.confng.sources.SystemPropertySource
Creates a new SystemPropertySource with custom properties (for testing).

T

TemplateGenerator - Class in org.confng.generator
Generates environment-specific configuration templates from ConfNGKey enums.
TemplateGenerator() - Constructor for class org.confng.generator.TemplateGenerator
 
TestNGListenerChain - Class in org.confng.testng
Manages the chain of ConfNG listeners and executes them in priority order.
TestNGParameterListener - Class in org.confng.testng
TestNG listener that automatically captures test parameters and makes them available to ConfNG as a configuration source.
TestNGParameterListener() - Constructor for class org.confng.testng.TestNGParameterListener
 
TestNGParameterSource - Class in org.confng.sources
Configuration source that provides values from TestNG parameters.
TestNGParameterSource() - Constructor for class org.confng.sources.TestNGParameterSource
 
toJson() - Method in class org.confng.metrics.ConfigMetrics
Exports metrics as JSON string.
TomlSource - Class in org.confng.sources
Configuration source that reads from TOML files.
TomlSource(String) - Constructor for class org.confng.sources.TomlSource
Creates a new TomlSource from the given file path (supports both filesystem and classpath).
TomlSource(String, String) - Constructor for class org.confng.sources.TomlSource
Creates a new TomlSource from the given file path for a specific environment (supports both filesystem and classpath).
TomlSource(Path) - Constructor for class org.confng.sources.TomlSource
Creates a new TomlSource from the given file.
TomlSource(Path, String) - Constructor for class org.confng.sources.TomlSource
Creates a new TomlSource from the given file for a specific environment.
toSpringPropertySource() - Method in class org.confng.integration.spring.ConfNGPropertySource
Creates a Spring Environment-compatible PropertySource.
toString() - Method in class org.confng.api.ConfigSourceInfo
 
toString() - Method in class org.confng.validation.ValidationError
 
toString() - Method in class org.confng.validation.ValidationResult
 
triggerReload(String) - Method in class org.confng.reload.ConfigReloadManager
Manually triggers a reload and notifies listeners.
TYPE - org.confng.validation.ValidationError.ConstraintType
Value cannot be converted to the expected type

U

url(String) - Method in class org.confng.sources.HttpConfigSource.Builder
 
username(String) - Method in class org.confng.sources.SpringCloudConfigSource.Builder
 
useSsl(boolean) - Method in class org.confng.sources.ConsulConfigSource.Builder
 

V

valid() - Static method in class org.confng.validation.ValidationResult
Creates an empty (valid) ValidationResult.
validate() - Static method in class org.confng.ConfNG
Validates all discovered configuration keys against their defined constraints.
validate(List<ConfNGKey>) - Static method in class org.confng.ConfNG
Validates the specified configuration keys against their defined constraints.
validate(List<ConfNGKey>) - Method in class org.confng.validation.ConfigValidator
Validates all discovered ConfNGKey implementations.
validate(ConfNGKey...) - Static method in class org.confng.ConfNG
Validates the specified configuration keys against their defined constraints.
ValidationError - Class in org.confng.validation
Represents a single validation error for a configuration key.
ValidationError(String, ValidationError.ConstraintType, String, String, boolean) - Constructor for class org.confng.validation.ValidationError
Creates a new ValidationError.
ValidationError.ConstraintType - Enum in org.confng.validation
Types of validation constraints that can be violated.
ValidationResult - Class in org.confng.validation
Contains the results of configuration validation.
ValidationResult(List<ValidationError>) - Constructor for class org.confng.validation.ValidationResult
Creates a new ValidationResult with the given errors.
valueOf(String) - Static method in enum org.confng.validation.ValidationError.ConstraintType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.confng.validation.ValidationError.ConstraintType
Returns an array containing the constants of this enum type, in the order they are declared.

W

watchFile(Path) - Method in class org.confng.reload.FileWatchService
Registers a file to be watched for changes.

Y

YamlSource - Class in org.confng.sources
Configuration source that reads from YAML files.
YamlSource(String) - Constructor for class org.confng.sources.YamlSource
Creates a new YamlSource from the given file path (supports both filesystem and classpath).
YamlSource(String, String) - Constructor for class org.confng.sources.YamlSource
Creates a new YamlSource from the given file path for a specific environment (supports both filesystem and classpath).
YamlSource(Path) - Constructor for class org.confng.sources.YamlSource
Creates a new YamlSource from the given file.
YamlSource(Path, String) - Constructor for class org.confng.sources.YamlSource
Creates a new YamlSource from the given file for a specific environment.
A B C D E F G H I J K L M N O P R S T U V W Y 
All Classes All Packages