Class MapBackedConfigValueConfigSource

    • Constructor Detail

      • MapBackedConfigValueConfigSource

        public MapBackedConfigValueConfigSource​(String name,
                                                Map<String,​ConfigValue> propertyMap)
      • MapBackedConfigValueConfigSource

        public MapBackedConfigValueConfigSource​(String name,
                                                Map<String,​ConfigValue> propertyMap,
                                                boolean copy)
        Construct a new instance. The config source will use a default ordinal of 100 and will use a copy of the given map if copy is true.
        Parameters:
        name - the config source name
        propertyMap - the map to use
        copy - true to copy the given map, false otherwise
      • MapBackedConfigValueConfigSource

        public MapBackedConfigValueConfigSource​(String name,
                                                Map<String,​ConfigValue> propertyMap,
                                                int defaultOrdinal)
      • MapBackedConfigValueConfigSource

        public MapBackedConfigValueConfigSource​(String name,
                                                Map<String,​ConfigValue> propertyMap,
                                                int defaultOrdinal,
                                                boolean copy)
        Construct a new instance. The config source will use the given default ordinal, and will use a copy of the given map if copy is true.
        Parameters:
        name - the config source name
        propertyMap - the map to use
        defaultOrdinal - the default ordinal to use if one is not given in the map
        copy - true to copy the given map, false otherwise