Interface EnvironmentVariableResolver
- All Known Implementing Classes:
SystemEnvironmentVariableResolver
public interface EnvironmentVariableResolver
Resolves environment variable values.
This is generally intended to be a wrapper around System calls to facilitate unit testing.
-
Method Summary
-
Method Details
-
getenv
Get the value of an environment variable.- Parameters:
varName- variable name- Returns:
- value of variable, or null if not defined
-
getenv
Get all environment variables.- Returns:
- all variables
-