Class PropertySource
- java.lang.Object
-
- org.springframework.cloud.config.environment.PropertySource
-
public class PropertySource extends Object
Simple plain text serializable encapsulation of a named source of key-value pairs. Basically a DTO forPropertySource, but also applicable outside the domain of a Spring application.- Author:
- Dave Syer
-
-
Constructor Summary
Constructors Constructor Description PropertySource(String name, Map<?,?> source)PropertySource(String name, Map<?,?> source, org.springframework.core.env.PropertySource<?> originalPropertySource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()org.springframework.core.env.PropertySource<?>getOriginalPropertySource()Map<?,?>getSource()StringtoString()
-