Class SuggesterDescriptor
java.lang.Object
org.nuxeo.ecm.platform.suggestbox.service.descriptors.SuggesterDescriptor
- All Implemented Interfaces:
Cloneable
XMap descriptor for registering overridable parameterized Suggester implementation on the SuggesterService.
- Author:
- ogrisel
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected boolean
protected String
protected RuntimeContext
protected Suggester
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
getName()
boolean
protected void
void
mergeFrom
(SuggesterDescriptor newDescriptor) void
setRuntimeContext
(RuntimeContext context)
-
Field Details
-
name
-
className
-
enabled
protected boolean enabled -
parameters
-
suggester
-
runtimeContext
-
-
Constructor Details
-
SuggesterDescriptor
public SuggesterDescriptor()
-
-
Method Details
-
getName
-
isEnabled
public boolean isEnabled() -
getParameters
-
setRuntimeContext
- Throws:
ComponentInitializationException
-
loadParameterizedSuggester
- Throws:
ComponentInitializationException
-
getSuggester
-
mergeFrom
- Throws:
ComponentInitializationException
-
clone
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-