Class QuickSearchDocumentImpl
- java.lang.Object
-
- com.atlassian.bamboo.index.quicksearch.QuickSearchDocumentImpl
-
- All Implemented Interfaces:
QuickSearchDocument
public class QuickSearchDocumentImpl extends Object implements QuickSearchDocument
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.index.quicksearch.QuickSearchDocument
SEARCH_FIELD
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedQuickSearchDocumentImpl(long id, QuickSearchDocumentFactory.Type type, @Nullable String key, @NotNull Map<String,String> entity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getEntity()longgetId()QuickSearchDocumentFactory.TypegetType()
-
-
-
Constructor Detail
-
QuickSearchDocumentImpl
protected QuickSearchDocumentImpl(long id, @NotNull QuickSearchDocumentFactory.Type type, @Nullable @Nullable String key, @NotNull @NotNull Map<String,String> entity)
-
-
Method Detail
-
getId
public long getId()
- Specified by:
getIdin interfaceQuickSearchDocument- Returns:
- Id of the entity
-
getType
public QuickSearchDocumentFactory.Type getType()
- Specified by:
getTypein interfaceQuickSearchDocument- Returns:
- string representation of the type of entity the document represents
-
getEntity
public Map<String,String> getEntity()
- Specified by:
getEntityin interfaceQuickSearchDocument
-
-