public class TitleExtractor extends Object implements Extractor2
All titles are stored to allow display of search results without having to hit database for the title.
| Constructor and Description |
|---|
TitleExtractor() |
| Modifier and Type | Method and Description |
|---|---|
Collection<FieldDescriptor> |
extractFields(Object searchable)
Extract fields from the searchable object which implements one of the
following interfaces:
Addressable
EditableLabelable
If an argument implements both interfaces, then the title is extracted
in the above listed order. |
StringBuilder |
extractText(Object searchable)
This method is not relevant to the title extraction and is essentially a no-op.
|
public StringBuilder extractText(Object searchable)
extractText in interface Extractor2searchable - a searchable objectpublic Collection<FieldDescriptor> extractFields(Object searchable)
extractFields in interface Extractor2searchable - a searchable objectCopyright © 2003–2022 Atlassian. All rights reserved.