Env Embedded Objects
An Env embedded object provides a method of obtaining an environment variable value.
Method
Method |
Description |
---|---|
String get(String name) |
Obtains the value of a specified environment variable. |
Example
The EL expression used to obtain the value of environment variable test is as follows:
#{Env.get("test")}
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot