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:SearchMatch
Match a pattern into a given text.- Specified by:
match
in interfaceSearchMatch
- Parameters:
text
- the text to searchpattern
- the search pattern- Returns:
- a result
-