Interface ConfigurationProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addProperties​(java.util.Map<?,​?> props)
      Add the given properties to those in this provider, overwriting any existing properties under the same keys.
      java.lang.Object addProperty​(java.lang.String key, java.lang.Object value)
      Add a single property, overwriting any existing property under the same key.
      java.util.Map<java.lang.String,​java.lang.Object> getProperties()
      Return properties loaded thus far, or empty map if none.
      void setInto​(Configuration conf)
      Set loaded information into the given configuration.
    • Method Detail

      • getProperties

        java.util.Map<java.lang.String,​java.lang.Object> getProperties()
        Return properties loaded thus far, or empty map if none.
      • addProperties

        void addProperties​(java.util.Map<?,​?> props)
        Add the given properties to those in this provider, overwriting any existing properties under the same keys.
      • addProperty

        java.lang.Object addProperty​(java.lang.String key,
                                     java.lang.Object value)
        Add a single property, overwriting any existing property under the same key.
      • setInto

        void setInto​(Configuration conf)
        Set loaded information into the given configuration.