SuggestionResult.java 1.09 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  aQute.bnd.annotation.ProviderType
 */
package com.adobe.granite.omnisearch.api.suggestion;

import aQute.bnd.annotation.ProviderType;
import com.adobe.granite.omnisearch.api.suggestion.PredicateSuggestion;
import java.util.List;

@ProviderType
public final class SuggestionResult {
    private List<PredicateSuggestion> predicateSuggestions;
    private List<String> suggestions;
    private List<String> spellCheckSuggestions;

    public SuggestionResult(List<String> suggestions, List<String> spellCheckSuggestions, List<PredicateSuggestion> predicateSuggestions) {
        this.predicateSuggestions = predicateSuggestions;
        this.suggestions = suggestions;
        this.spellCheckSuggestions = spellCheckSuggestions;
    }

    public List<PredicateSuggestion> getPredicateSuggestions() {
        return this.predicateSuggestions;
    }

    public List<String> getSuggestions() {
        return this.suggestions;
    }

    public List<String> getSpellcheckSuggestions() {
        return this.spellCheckSuggestions;
    }
}