Class SearchMatch.DefaultBuilder
java.lang.Object
org.springframework.shell.support.search.SearchMatch.DefaultBuilder
- All Implemented Interfaces:
SearchMatch.Builder
- Enclosing interface:
- SearchMatch
-
Constructor Summary
-
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
.
-
Constructor Details
-
DefaultBuilder
public DefaultBuilder()
-
-
Method Details
-
caseSensitive
Description copied from interface:SearchMatch.Builder
Set a flag forcaseSensitive
.- Specified by:
caseSensitive
in interfaceSearchMatch.Builder
- Parameters:
caseSensitive
- the caseSensitive- Returns:
- builder for chaining
-
normalize
Description copied from interface:SearchMatch.Builder
Set a flag fornormalize
.- Specified by:
normalize
in interfaceSearchMatch.Builder
- Parameters:
normalize
- the normalize- Returns:
- builder for chaining
-
forward
Description copied from interface:SearchMatch.Builder
Set a flag forforward
.- Specified by:
forward
in interfaceSearchMatch.Builder
- Parameters:
forward
- the forward- Returns:
- builder for chaining
-
build
Description copied from interface:SearchMatch.Builder
Build instance of aSearchMatch
.- Specified by:
build
in interfaceSearchMatch.Builder
- Returns:
- a build instance of
SearchMatch
-