Class SystemConfigurationImpl
- java.lang.Object
-
- org.epics.pvaccess.util.configuration.impl.SystemConfigurationImpl
-
- All Implemented Interfaces:
Configuration
public class SystemConfigurationImpl extends Object implements Configuration
Configuration that reads config from system environment and JVM properties (higher priority).- Author:
- msekoranja
-
-
Constructor Summary
Constructors Constructor Description SystemConfigurationImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getPropertyAsBoolean(String name, boolean defaultValue)
float
getPropertyAsFloat(String name, float defaultValue)
int
getPropertyAsInteger(String name, int defaultValue)
String
getPropertyAsString(String name, String defaultValue)
-
-
-
Method Detail
-
getPropertyAsBoolean
public boolean getPropertyAsBoolean(String name, boolean defaultValue)
- Specified by:
getPropertyAsBoolean
in interfaceConfiguration
-
getPropertyAsInteger
public int getPropertyAsInteger(String name, int defaultValue)
- Specified by:
getPropertyAsInteger
in interfaceConfiguration
-
getPropertyAsFloat
public float getPropertyAsFloat(String name, float defaultValue)
- Specified by:
getPropertyAsFloat
in interfaceConfiguration
-
getPropertyAsString
public String getPropertyAsString(String name, String defaultValue)
- Specified by:
getPropertyAsString
in interfaceConfiguration
-
-