Interface Environment
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Provides access to environment variable values.
- Since:
- 2.3.0
- Author:
- Scott Frederick, Phillip Webb
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Environment
StandardEnvironment
implementation backed bySystem.getenv(String)
. -
Method Summary
-
Field Details
-
SYSTEM
StandardEnvironment
implementation backed bySystem.getenv(String)
.
-
-
Method Details
-
get
Gets the value of the specified environment variable.- Parameters:
name
- the name of the environment variable- Returns:
- the string value of the variable, or
null
if the variable is not defined in the environment
-