Class FileBasedConfigLoader

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.util.Properties> load()
      Loads configuration from watched resource and wraps it into Properties object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileBasedConfigLoader

        public FileBasedConfigLoader()
    • Method Detail

      • load

        public java.util.Optional<java.util.Properties> load()
        Description copied from interface: RuntimeConfigLoader
        Loads configuration from watched resource and wraps it into Properties object.
        Specified by:
        load in interface RuntimeConfigLoader
        Returns:
        Optional object or Optional.empty() in case of nothing to load