Class QuickSearchDocumentImpl
java.lang.Object
com.atlassian.bamboo.index.quicksearch.QuickSearchDocumentImpl
- All Implemented Interfaces:
QuickSearchDocument
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.index.quicksearch.QuickSearchDocument
SEARCH_FIELD
-
Constructor Summary
ModifierConstructorDescriptionprotected
QuickSearchDocumentImpl
(long id, QuickSearchDocumentFactory.Type type, @Nullable String key, @NotNull Map<String, String> entity) -
Method Summary
-
Constructor Details
-
QuickSearchDocumentImpl
protected QuickSearchDocumentImpl(long id, @NotNull QuickSearchDocumentFactory.Type type, @Nullable @Nullable String key, @NotNull @NotNull Map<String, String> entity)
-
-
Method Details
-
getId
public long getId()- Specified by:
getId
in interfaceQuickSearchDocument
- Returns:
- Id of the entity
-
getType
- Specified by:
getType
in interfaceQuickSearchDocument
- Returns:
- string representation of the type of entity the document represents
-
getEntity
- Specified by:
getEntity
in interfaceQuickSearchDocument
-