forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: chenxiaoxiong <chenxiaoxiong@huawei.com> Co-committed-by: chenxiaoxiong <chenxiaoxiong@huawei.com>
2.8 KiB
2.8 KiB
Env Embedded Objects
An Env embedded object provides a method of obtaining an environment variable value.
Method
Method |
Description |
Example |
|---|---|---|
String get(String name) |
Obtains the value of a specified environment variable. |
To obtain the value of the environment variable test, run the following command: #{Env.get("test")} |
Example
The EL expression used to obtain the value of environment variable test is as follows:
#{Env.get("test")}
Parent topic: EL Expression Reference