Package org.aesh.readline
Class CompositeSuggestionProvider
java.lang.Object
org.aesh.readline.CompositeSuggestionProvider
- All Implemented Interfaces:
SuggestionProvider
A suggestion provider that chains multiple providers, returning the first non-null result.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CompositeSuggestionProvider
-
-
Method Details
-
suggest
Description copied from interface:SuggestionProviderReturns the suggested suffix to display after the current buffer, or null for no suggestion.- Specified by:
suggestin interfaceSuggestionProvider- Parameters:
buffer- the current input buffer content- Returns:
- the suggestion suffix, or null
-