public interface PropertiesService
| Modifier and Type | Method and Description |
|---|---|
String |
getProperty(String key,
String defaultValue) |
String |
getProperty(String key,
String envKey,
String defaultValue) |
String getProperty(String key, String defaultValue)
key - of the property to retrievedefaultValue - default value to return in case the property has not a value definedString getProperty(String key, String envKey, String defaultValue)
key - of the property to retrieveenvKey - name of the environment variable used as an alternative way to define a propertydefaultValue - default value to return in case the property has not a value definedCopyright © 2015–2017 Red Hat, Inc.. All rights reserved.