Class OriginTrackedMapPropertySource

All Implemented Interfaces:
PropertySourceInfo, OriginLookup<String>

public final class OriginTrackedMapPropertySource extends MapPropertySource implements PropertySourceInfo, OriginLookup<String>
OriginLookup backed by a Map containing OriginTrackedValues.
Since:
2.0.0
Author:
Madhura Bhave, Phillip Webb
See Also:
  • Constructor Details

    • OriginTrackedMapPropertySource

      public OriginTrackedMapPropertySource(String name, Map source)
      Create a new OriginTrackedMapPropertySource instance.
      Parameters:
      name - the property source name
      source - the underlying map source
    • OriginTrackedMapPropertySource

      public OriginTrackedMapPropertySource(String name, Map source, boolean immutable)
      Create a new OriginTrackedMapPropertySource instance.
      Parameters:
      name - the property source name
      source - the underlying map source
      immutable - if the underlying source is immutable and guaranteed not to change
      Since:
      2.2.0
  • Method Details