Package com.suse.common.configuration
Class EnvironmentConfigurationSource
- java.lang.Object
-
- com.suse.common.configuration.BaseConfigurationSource
-
- com.suse.common.configuration.EnvironmentConfigurationSource
-
- All Implemented Interfaces:
ConfigurationSource
public class EnvironmentConfigurationSource extends BaseConfigurationSource
A configuration source that's retrieving the property values from the system environment.
-
-
Constructor Summary
Constructors Constructor Description EnvironmentConfigurationSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.String>getPropertyNames()Retrieves the names of all the available properties.protected java.lang.StringgetRawValue(java.lang.String property)-
Methods inherited from class com.suse.common.configuration.BaseConfigurationSource
convertTo, getBoolean, getDouble, getFloat, getInteger, getList, getLong, getString, toProperties
-
-
-
-
Method Detail
-
getRawValue
protected java.lang.String getRawValue(java.lang.String property)
- Specified by:
getRawValuein classBaseConfigurationSource
-
getPropertyNames
public java.util.Set<java.lang.String> getPropertyNames()
Description copied from interface:ConfigurationSourceRetrieves the names of all the available properties.- Returns:
- the set of property names
-
-