public class WhitelistProperties extends Object
Constructor and Description |
---|
WhitelistProperties(ApplicationConfigurationMetadataResolver metadataResolver) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
qualifyProperties(Map<String,String> properties,
org.springframework.core.io.Resource metadataResource)
Return a copy of app properties where shorthand form have been expanded to their
long form (amongst the whitelisted supported properties of the app) if applicable.
|
public WhitelistProperties(ApplicationConfigurationMetadataResolver metadataResolver)
public Map<String,String> qualifyProperties(Map<String,String> properties, org.springframework.core.io.Resource metadataResource)
properties
- the application properties in shorthand formmetadataResource
- the metadata that can be used to expand shorthand property
names to long form namesCopyright © 2020 Pivotal Software, Inc.. All rights reserved.