Package dev.aurelium.slate.function
Interface ItemReplacer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescription@Nullable Stringreplace(PlaceholderInfo info) Replaces a placeholder in an item.
-
Method Details
-
replace
Replaces a placeholder in an item.- Parameters:
info- thePlaceholderInfocontext object- Returns:
- the replaced string, or null if the placeholder should not be replaced
-