Class PropertiesConfigSource

    • Constructor Detail

      • PropertiesConfigSource

        public PropertiesConfigSource​(Properties properties)
    • 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
      • optionalClasspathPropertiesFile

        public static ConfigSource optionalClasspathPropertiesFile​(String fileName)