Class PathSearch.PathSearchConfig
java.lang.Object
org.springframework.shell.component.PathSearch.PathSearchConfig
- Enclosing class:
- PathSearch
Class defining configuration for path search.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
boolean
boolean
boolean
void
setMaxPathsSearch
(int maxPathsSearch) void
setMaxPathsShow
(int maxPathsShow) void
setPathScanner
(Supplier<BiFunction<String, PathSearch.PathSearchContext, PathSearch.PathScannerResult>> pathScanner) void
setSearchCaseSensitive
(boolean searchCaseSensitive) void
setSearchForward
(boolean searchForward) void
setSearchNormalize
(boolean searchNormalize)
-
Constructor Details
-
PathSearchConfig
public PathSearchConfig()
-
-
Method Details
-
getMaxPathsShow
public int getMaxPathsShow() -
setMaxPathsShow
public void setMaxPathsShow(int maxPathsShow) -
getMaxPathsSearch
public int getMaxPathsSearch() -
setMaxPathsSearch
public void setMaxPathsSearch(int maxPathsSearch) -
setPathScanner
public void setPathScanner(Supplier<BiFunction<String, PathSearch.PathSearchContext, PathSearch.PathScannerResult>> pathScanner) -
isSearchForward
public boolean isSearchForward() -
setSearchForward
public void setSearchForward(boolean searchForward) -
isSearchCaseSensitive
public boolean isSearchCaseSensitive() -
setSearchCaseSensitive
public void setSearchCaseSensitive(boolean searchCaseSensitive) -
isSearchNormalize
public boolean isSearchNormalize() -
setSearchNormalize
public void setSearchNormalize(boolean searchNormalize)
-