Class VersionCommentExtractor
- java.lang.Object
-
- com.atlassian.confluence.impl.search.v2.extractor.VersionCommentExtractor
-
- All Implemented Interfaces:
Extractor2
public class VersionCommentExtractor extends Object implements Extractor2
Appends the version comment of a ContentEntityObject to its searchable text.- Since:
- 7.20
-
-
Constructor Summary
Constructors Constructor Description VersionCommentExtractor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<FieldDescriptor>
extractFields(Object searchable)
Extract fields from the searchable object.StringBuilder
extractText(Object searchable)
Returns a buffer of text that will be appended onto the end of a larger buffer of text that will eventually become the searchable body text.
-
-
-
Method Detail
-
extractText
public StringBuilder extractText(Object searchable)
Returns a buffer of text that will be appended onto the end of a larger buffer of text that will eventually become the searchable body text.- Specified by:
extractText
in interfaceExtractor2
- Parameters:
searchable
- a searchable object- Returns:
- an text buffer
-
extractFields
public Collection<FieldDescriptor> extractFields(Object searchable)
Extract fields from the searchable object.- Specified by:
extractFields
in interfaceExtractor2
- Parameters:
searchable
- a searchable object- Returns:
- collection of fields extracted from the searchable object
-
-