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

A

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.
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.
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).
autoLoadConfig() - Static method in class org.confng.ConfNG
Automatically detects the current environment and loads appropriate configuration files.

B

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).

C

cacheEnabled - Variable in class org.confng.sources.SecretManagerSource
 
cacheTimeoutMs - Variable in class org.confng.sources.SecretManagerSource
 
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.
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.
ConfigSource - Interface in org.confng.sources
Interface for configuration sources used by ConfNG.
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.

D

discoverAllConfigKeys(String...) - Static method in class org.confng.ConfNG
Discovers all ConfNGKey implementations in the classpath.

E

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.

F

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.

G

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.EnvSource
 
get(String) - Method in class org.confng.sources.JsonSource
 
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.SystemPropertySource
 
get(String) - Method in class org.confng.sources.TestNGParameterSource
 
get(String) - Method in class org.confng.sources.TomlSource
 
get(String) - Method in class org.confng.sources.YamlSource
 
get(ConfNGKey) - Static method in class org.confng.ConfNG
Gets a configuration value for the given key.
getAllForDisplay(ConfNGKey...) - Static method in class org.confng.ConfNG
Gets all configuration values for display purposes.
getAllParameters() - Method in class org.confng.sources.TestNGParameterSource
Gets all parameters in precedence order.
getBoolean(ConfNGKey) - Static method in class org.confng.ConfNG
Gets a configuration value as a boolean.
getCacheSize() - Method in class org.confng.sources.SecretManagerSource
Gets the number of cached secrets.
getCurrentTestName() - Method in class org.confng.sources.TestNGParameterSource
Gets the name of the current test context.
getDefaultValue() - Method in interface org.confng.api.ConfNGKey
Returns the default value for this configuration key.
getEnvironmentName() - Static method in class org.confng.ConfNG
Detects the current environment name by checking multiple configuration keys in order.
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.
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.
getKey() - Method in interface org.confng.api.ConfNGKey
Returns the configuration key identifier.
getListeners() - Method in class org.confng.testng.TestNGListenerChain
Gets all registered listeners in priority order.
getMethodParameters(String) - Method in class org.confng.sources.TestNGParameterSource
Gets method parameters for a specific method.
getName() - Method in interface org.confng.sources.ConfigSource
Returns the name of this configuration source.
getName() - Method in class org.confng.sources.EnvSource
 
getName() - Method in class org.confng.sources.JsonSource
 
getName() - Method in class org.confng.sources.PropertiesSource
 
getName() - Method in class org.confng.sources.SystemPropertySource
 
getName() - Method in class org.confng.sources.TestNGParameterSource
 
getName() - Method in class org.confng.sources.TomlSource
 
getName() - Method in class org.confng.sources.YamlSource
 
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 interface org.confng.sources.ConfigSource
Returns the priority of this configuration source.
getPriority() - Method in class org.confng.sources.EnvSource
 
getPriority() - Method in class org.confng.sources.JsonSource
 
getPriority() - Method in class org.confng.sources.PropertiesSource
 
getPriority() - Method in class org.confng.sources.SecretManagerSource
 
getPriority() - Method in class org.confng.sources.SystemPropertySource
 
getPriority() - Method in class org.confng.sources.TestNGParameterSource
 
getPriority() - Method in class org.confng.sources.TomlSource
 
getPriority() - Method in class org.confng.sources.YamlSource
 
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.
getResolvedKeys() - Static method in class org.confng.ConfNG
Gets all resolved configuration keys.
getResolvedValueCount() - Static method in class org.confng.ConfNG
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.
getSuiteParameters() - Method in class org.confng.sources.TestNGParameterSource
Gets all suite parameters.
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.

H

handleSecretFetchError(String, String, Exception) - Method in class org.confng.sources.SecretManagerSource
Handles errors that occur while fetching secrets.

I

initialize(ConfNGListener) - Method in class org.confng.testng.TestNGListenerChain
Initializes the listener chain by discovering and loading all registered listeners.
isFromClasspath() - Method in class org.confng.util.FileResolver.ResolvedFile
Checks if the file was found in the classpath.
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.
isSensitive() - Method in interface org.confng.api.ConfNGKey
Indicates whether this configuration key contains sensitive information.

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

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, String) - Static method in class org.confng.ConfNG
Loads a configuration file with environment-specific section by auto-detecting its type.
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.
loadProperties(String) - Static method in class org.confng.ConfNG
Loads a properties file as a configuration source.
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.
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.

O

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.sources - package org.confng.sources
 
org.confng.testng - package org.confng.testng
 
org.confng.util - package org.confng.util
 

P

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.

R

refresh() - Static method in class org.confng.ConfNG
Forces re-resolution of all configuration values.
registerSource(ConfigSource) - Static method in class org.confng.ConfNG
 
registerSourceAt(int, ConfigSource) - Static method in class org.confng.ConfNG
 
resolve(String) - Static method in class org.confng.util.FileResolver
Resolves a file path by checking filesystem first, then classpath.
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.

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.
setCurrentTestName(String) - Method in class org.confng.sources.TestNGParameterSource
Sets the name of the current test context for the thread.
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

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
 
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.

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 O P R S T Y 
All Classes All Packages