Class TextFieldDescriptor
- java.lang.Object
-
- com.atlassian.confluence.plugins.index.api.FieldDescriptor
-
- com.atlassian.confluence.plugins.index.api.TextFieldDescriptor
-
@Deprecated public final class TextFieldDescriptor extends FieldDescriptor
Deprecated.since 8.6. UseTextFieldMapping.createField(String)
insteadUsed for analyzed text.- Since:
- 7.17
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.atlassian.confluence.plugins.index.api.FieldDescriptor
FieldDescriptor.Index, FieldDescriptor.Store
-
-
Constructor Summary
Constructors Constructor Description TextFieldDescriptor(TextFieldMapping mapping, String value)
Deprecated.TextFieldDescriptor(String name, String value, FieldDescriptor.Store store)
Deprecated.TextFieldDescriptor(String name, String value, FieldDescriptor.Store store, AnalyzerDescriptorProvider analyzerProvider)
Deprecated.Create a text field with a custom analyzer.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <T> T
accept(FieldVisitor<T> fieldVisitor)
Deprecated.boolean
equals(Object o)
AnalyzerDescriptorProvider
getAnalyzerProvider()
Deprecated.FieldDescriptor.Index
getIndex()
Deprecated.FieldMapping
getMapping()
String
getName()
FieldDescriptor.Store
getStore()
String
getValue()
int
hashCode()
-
Methods inherited from class com.atlassian.confluence.plugins.index.api.FieldDescriptor
getRawValue
-
-
-
-
Field Detail
-
value
protected final String value
-
-
Constructor Detail
-
TextFieldDescriptor
public TextFieldDescriptor(TextFieldMapping mapping, String value)
Deprecated.
-
TextFieldDescriptor
public TextFieldDescriptor(String name, String value, FieldDescriptor.Store store, AnalyzerDescriptorProvider analyzerProvider)
Deprecated.Create a text field with a custom analyzer.- Since:
- 7.17
-
TextFieldDescriptor
public TextFieldDescriptor(String name, String value, FieldDescriptor.Store store)
Deprecated.
-
-
Method Detail
-
getIndex
public FieldDescriptor.Index getIndex()
Deprecated.
-
accept
public <T> T accept(FieldVisitor<T> fieldVisitor)
Deprecated.- Overrides:
accept
in classFieldDescriptor
-
getAnalyzerProvider
@Nonnull public AnalyzerDescriptorProvider getAnalyzerProvider()
Deprecated.
-
getMapping
public FieldMapping getMapping()
-
getName
public String getName()
-
getValue
public String getValue()
-
getStore
public FieldDescriptor.Store getStore()
-
-