org.elasticsearch.common.property
Interface PropertyPlaceholder.PlaceholderResolver
- Enclosing class:
- PropertyPlaceholder
public static interface PropertyPlaceholder.PlaceholderResolver
Strategy interface used to resolve replacement values for placeholders contained in Strings.
- See Also:
PropertyPlaceholder
Method Summary |
java.lang.String |
resolvePlaceholder(java.lang.String placeholderName)
Resolves the supplied placeholder name into the replacement value. |
resolvePlaceholder
java.lang.String resolvePlaceholder(java.lang.String placeholderName)
- Resolves the supplied placeholder name into the replacement value.
- Parameters:
placeholderName
- the name of the placeholder to resolve.
- Returns:
- the replacement value or
null
if no replacement is to be made.