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 protected
QuickSearchDocumentImpl(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()
long
getId()
QuickSearchDocumentFactory.Type
getType()
-
-
-
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:
getId
in interfaceQuickSearchDocument
- Returns:
- Id of the entity
-
getType
public QuickSearchDocumentFactory.Type getType()
- Specified by:
getType
in interfaceQuickSearchDocument
- Returns:
- string representation of the type of entity the document represents
-
getEntity
public Map<String,String> getEntity()
- Specified by:
getEntity
in interfaceQuickSearchDocument
-
-