Class AutocompleteResultItem
java.lang.Object
com.atlassian.confluence.api.model.search.autocomplete.AutocompleteResultItem
Represents the internal and displayed state of a single autocomplete result in an
AutocompleteResult
.- Since:
- 5.9
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
builder
-
getId
Returns the item "id" or "key" that will be passed around programmatically if this item is selected by a user in the UI. It is expected to be unique in the enclosingAutocompleteResult
.- Returns:
- the internal value of the item
-
getText
Returns the string representation of this item that the user will see in the UI.- Returns:
- the displayable value of the item
-
equals
-
hashCode
public int hashCode()
-