Class SystemPropertiesConfigSource

  • All Implemented Interfaces:
    ConfigSource

    public class SystemPropertiesConfigSource
    extends Object
    implements ConfigSource
    A ConfigSource that resolves a property by reading system properties.

    Author:
    Elias Lindholm (elilin)
    • Constructor Detail

      • SystemPropertiesConfigSource

        public SystemPropertiesConfigSource()
    • Method Detail

      • get

        public String get​(String propertyName)
        Description copied from interface: ConfigSource
        Reads a property from this ConfigSource.
        Specified by:
        get in interface ConfigSource
        Parameters:
        propertyName - - The name of the property to read
        Returns:
        The value of the given property, or null if this ConfigSource does not contain a value for the given property