Package org.forgerock.config.resolvers
Class SubstitutionContext
java.lang.Object
org.forgerock.config.resolvers.SubstitutionContext
A
SubstitutionContext holds both runtime and config time values for the substitution process.-
Constructor Summary
ConstructorsConstructorDescriptionSubstitutionContext(boolean escaping) Creates aSubstitutionContextwith default (no-op) notifiers and escaping support as dictated byescaping.SubstitutionContext(Consumer<String> onUnresolved, Consumer<List<String>> onCycle, boolean escaping) -
Method Summary
-
Constructor Details
-
SubstitutionContext
public SubstitutionContext(boolean escaping) Creates aSubstitutionContextwith default (no-op) notifiers and escaping support as dictated byescaping.- Parameters:
escaping- Enable/disable escaping support
-
SubstitutionContext
public SubstitutionContext(Consumer<String> onUnresolved, Consumer<List<String>> onCycle, boolean escaping) - Parameters:
onUnresolved- Called when unresolved variables are detectedonCycle- Called when cycles are detectedescaping- Enable/disable escaping support
-