Interface SearchMatch.Builder
- All Known Implementing Classes:
SearchMatch.DefaultBuilder
- Enclosing interface:
- SearchMatch
public static interface SearchMatch.Builder
Defines an interface for
SearchMatch
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build instance of aSearchMatch
.caseSensitive
(boolean caseSensitive) Set a flag forcaseSensitive
.forward
(boolean forward) Set a flag forforward
.normalize
(boolean normalize) Set a flag fornormalize
.
-
Method Details
-
caseSensitive
Set a flag forcaseSensitive
.- Parameters:
caseSensitive
- the caseSensitive- Returns:
- builder for chaining
-
normalize
Set a flag fornormalize
.- Parameters:
normalize
- the normalize- Returns:
- builder for chaining
-
forward
Set a flag forforward
.- Parameters:
forward
- the forward- Returns:
- builder for chaining
-
build
SearchMatch build()Build instance of aSearchMatch
.- Returns:
- a build instance of
SearchMatch
-