Class SearchMatch.DefaultSearchMatch
java.lang.Object
org.springframework.shell.support.search.SearchMatch.DefaultSearchMatch
- All Implemented Interfaces:
SearchMatch
- Enclosing interface:
- SearchMatch
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.shell.support.search.SearchMatch
SearchMatch.Builder, SearchMatch.DefaultBuilder, SearchMatch.DefaultSearchMatch -
Method Summary
Modifier and TypeMethodDescriptionMatch a pattern into a given text.
-
Method Details
-
match
Description copied from interface:SearchMatchMatch a pattern into a given text.- Specified by:
matchin interfaceSearchMatch- Parameters:
text- the text to searchpattern- the search pattern- Returns:
- a result
-