Class RetentionPolicyPropertyExtractor
- java.lang.Object
-
- com.atlassian.confluence.impl.search.v2.extractor.RetentionPolicyPropertyExtractor
-
- All Implemented Interfaces:
Extractor2
public class RetentionPolicyPropertyExtractor extends Object implements Extractor2
- Since:
- 7.14.0
-
-
Field Summary
Fields Modifier and Type Field Description static String
SEARCH_FIELD_NAME
Deprecated.since 7.20 useSearchFieldNames.RETENTION_POLICY
instead.
-
Constructor Summary
Constructors Constructor Description RetentionPolicyPropertyExtractor(SpaceRetentionPolicyManager spaceRetentionPolicyManager)
-
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.
-
-
-
Field Detail
-
SEARCH_FIELD_NAME
@Deprecated public static final String SEARCH_FIELD_NAME
Deprecated.since 7.20 useSearchFieldNames.RETENTION_POLICY
instead.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RetentionPolicyPropertyExtractor
public RetentionPolicyPropertyExtractor(SpaceRetentionPolicyManager spaceRetentionPolicyManager)
-
-
Method Detail
-
extractText
public StringBuilder extractText(Object searchable)
Description copied from interface:Extractor2
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:
- 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.
-
extractFields
public Collection<FieldDescriptor> extractFields(Object searchable)
Description copied from interface:Extractor2
Extract fields from the searchable object.- Specified by:
extractFields
in interfaceExtractor2
- Parameters:
searchable
- a searchable object- Returns:
- list of fields extracted from the searchable object
-
-