Package org.alfresco.tas
Class EnvHelper
java.lang.Object
org.alfresco.tas.EnvHelper
A helper class with methods to access properties from the .env file.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetEnvProperty(String key) Load the value of a property from the .env file.static PropertiesLoad all the properties from the .env file.
-
Method Details
-
getEnvProperty
Load the value of a property from the .env file.- Parameters:
key- The key to look up.- Returns:
- The value as a string.
-
loadEnvProperties
Load all the properties from the .env file.- Returns:
- The properties.
-