Class CustomContentSearchExtractor

java.lang.Object
com.atlassian.confluence.impl.search.v2.extractor.CustomContentSearchExtractor
All Implemented Interfaces:
Extractor2

public class CustomContentSearchExtractor extends Object implements Extractor2
Extracts some base "all content needs this" fields from the CustomContentEntityObject.
Since:
7.20
  • Field Details

  • Constructor Details

    • CustomContentSearchExtractor

      public CustomContentSearchExtractor()
  • Method Details

    • extractText

      public StringBuilder extractText(Object searchable)
      Always returns an empty buffer.
      Specified by:
      extractText in interface Extractor2
      Parameters:
      searchable - a searchable object
      Returns:
      an empty buffer
    • extractFields

      public Collection<FieldDescriptor> extractFields(Object searchable)
      Extract fields from the searchable object.
      Specified by:
      extractFields in interface Extractor2
      Parameters:
      searchable - a searchable object
      Returns:
      collection of fields extracted from the searchable object