@ProviderType public final class SuggestionResult extends Object
| Constructor and Description |
|---|
SuggestionResult(List<String> suggestions,
List<String> spellCheckSuggestions,
List<PredicateSuggestion> predicateSuggestions)
Creates new
SuggestionResult instance |
| Modifier and Type | Method and Description |
|---|---|
List<PredicateSuggestion> |
getPredicateSuggestions()
This function returns
List of PredicateSuggestions
for the module. |
List<String> |
getSpellcheckSuggestions()
this function returns the spell check suggestions for the search term
for the module.
|
List<String> |
getSuggestions()
This function returns the list of suggestions for search term
for the module.
|
public SuggestionResult(List<String> suggestions, List<String> spellCheckSuggestions, List<PredicateSuggestion> predicateSuggestions)
SuggestionResult instancesuggestions - List of suggestionsspellCheckSuggestions - List of spellcheck suggestionspredicateSuggestions - List of PredicateSuggestionpublic List<PredicateSuggestion> getPredicateSuggestions()
List of PredicateSuggestions
for the module.public List<String> getSuggestions()
Copyright © 2010 - 2020 Adobe. All Rights Reserved