Class SuggesterDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.platform.suggestbox.service.descriptors.SuggesterDescriptor
-
-
Field Summary
Fields Modifier and Type Field Description protected String
className
protected boolean
enabled
protected String
name
protected Map<String,String>
parameters
protected RuntimeContext
runtimeContext
protected Suggester
suggester
-
Constructor Summary
Constructors Constructor Description SuggesterDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
String
getName()
Map<String,String>
getParameters()
Suggester
getSuggester()
boolean
isEnabled()
protected void
loadParameterizedSuggester()
void
mergeFrom(SuggesterDescriptor newDescriptor)
void
setRuntimeContext(RuntimeContext context)
-
-
-
Method Detail
-
getName
public String getName()
-
isEnabled
public boolean isEnabled()
-
setRuntimeContext
public void setRuntimeContext(RuntimeContext context) throws ComponentInitializationException
- Throws:
ComponentInitializationException
-
loadParameterizedSuggester
protected void loadParameterizedSuggester() throws ComponentInitializationException
- Throws:
ComponentInitializationException
-
getSuggester
public Suggester getSuggester()
-
mergeFrom
public void mergeFrom(SuggesterDescriptor newDescriptor) throws ComponentInitializationException
- Throws:
ComponentInitializationException
-
clone
public Object clone() throws CloneNotSupportedException
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
-