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 Stringprotected Booleanprotected Booleanprotected Stringprotected Stringprotected 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> booleanbooleanmerge(Descriptor o) Returns a descriptor representingothermerged intothisMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:DescriptorThe 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:
getIdin interfaceDescriptor
-
getName
-
isEnabled
public boolean isEnabled() -
isDefault
public boolean isDefault() -
getClient
-
getRepositoryName
-
getWriterClass
-
newWriterInstance
-
merge
Description copied from interface:DescriptorReturns a descriptor representingothermerged intothisDefault implementation returns
other.- Specified by:
mergein interfaceDescriptor- Returns:
- the merged descriptor
-