Package org.nuxeo.ecm.core.search
Class SearchIndexDescriptor
java.lang.Object
org.nuxeo.ecm.core.search.SearchIndexDescriptor
- All Implemented Interfaces:
Descriptor
- Since:
- 2025.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected Boolean
protected Boolean
protected String
protected String
protected Class
<? extends IndexingJsonWriter> Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()
The descriptor id, descriptors with same id are merged.getName()
Class
<? extends IndexingJsonWriter> boolean
boolean
merge
(Descriptor o) Returns a descriptor representingother
merged intothis
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove
-
Field Details
-
name
-
enabled
-
isDefault
-
client
-
repository
-
writerClass
-
-
Constructor Details
-
SearchIndexDescriptor
public SearchIndexDescriptor()
-
-
Method Details
-
getId
Description copied from interface:Descriptor
The descriptor id, descriptors with same id are merged.To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.
To forbid merge use a unique value, non-overriden
toString()
for exemple.- Specified by:
getId
in interfaceDescriptor
-
getName
-
isEnabled
public boolean isEnabled() -
isDefault
public boolean isDefault() -
getClient
-
getRepositoryName
-
getWriterClass
-
newWriterInstance
-
merge
Description copied from interface:Descriptor
Returns a descriptor representingother
merged intothis
Default implementation returns
other
.- Specified by:
merge
in interfaceDescriptor
- Returns:
- the merged descriptor
-