public class PropertyReplacer extends Object implements ConfigReplacer
init(Properties) method.
 The implementation can be used for replacing System properties.| Constructor and Description | 
|---|
PropertyReplacer()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getPrefix()
Variable replacer prefix string. 
 | 
String | 
getReplacement(String variable)
Provides String which should be used as a variable replacement for given masked value. 
 | 
void | 
init(Properties properties)
Initialization method called before first usage of the config replacer. 
 | 
public void init(Properties properties)
ConfigReplacerinit in interface ConfigReplacerproperties - properties configured (not null)public String getPrefix()
ConfigReplacergetPrefix in interface ConfigReplacerpublic String getReplacement(String variable)
ConfigReplacergetReplacement in interface ConfigReplacervariable - the masked valuenull String to be used as a replacement for the variable; or null when this replacer is not
         able to handle the masked value.Copyright © 2022 Hazelcast, Inc.. All rights reserved.