Package org.forgerock.config.resolvers
Class SubstitutionVisitor.Builder
- java.lang.Object
-
- org.forgerock.config.resolvers.SubstitutionVisitor.Builder
-
- Enclosing class:
- SubstitutionVisitor
public static class SubstitutionVisitor.Builder extends Object
Builder ofSubstitutionVisitor
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubstitutionVisitor
build()
Returns a newSubstitutionVisitor
.SubstitutionVisitor.Builder
recursive(TemplateParser parser)
Specify if the substitution is going to be recursive (substituted property values are parsed and evaluated until there is no token left).SubstitutionVisitor.Builder
sensitive(boolean sensitive)
Specify if the property resolver is going to handle sensitive values (false by default
).
-
-
-
Method Detail
-
sensitive
public SubstitutionVisitor.Builder sensitive(boolean sensitive)
Specify if the property resolver is going to handle sensitive values (false by default
).- Parameters:
sensitive
- if the resolver will handle sensitive values- Returns:
- this builder
-
recursive
public SubstitutionVisitor.Builder recursive(TemplateParser parser)
Specify if the substitution is going to be recursive (substituted property values are parsed and evaluated until there is no token left).- Parameters:
parser
- the parser used for parsing resolved properties- Returns:
- this builder
-
build
public SubstitutionVisitor build()
Returns a newSubstitutionVisitor
.- Returns:
- a new
SubstitutionVisitor
.
-
-