public class SuggesterDescriptor extends Object implements Cloneable
Modifier and Type | Field and Description |
---|---|
protected String |
className |
protected boolean |
enabled |
protected String |
name |
protected Map<String,String> |
parameters |
protected RuntimeContext |
runtimeContext |
protected Suggester |
suggester |
Constructor and Description |
---|
SuggesterDescriptor() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
String |
getName() |
Map<String,String> |
getParameters() |
Suggester |
getSuggester() |
boolean |
isEnabled() |
protected void |
loadParameterizedSuggester() |
void |
mergeFrom(SuggesterDescriptor newDescriptor) |
void |
setRuntimeContext(RuntimeContext context) |
protected boolean enabled
protected Map<String,String> parameters
protected RuntimeContext runtimeContext
public SuggesterDescriptor()
public boolean isEnabled()
public Map<String,String> getParameters()
public void setRuntimeContext(RuntimeContext context) throws ComponentInitializationException
ComponentInitializationException
protected void loadParameterizedSuggester() throws ComponentInitializationException
ComponentInitializationException
public Suggester getSuggester()
public void mergeFrom(SuggesterDescriptor newDescriptor) throws ComponentInitializationException
ComponentInitializationException
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2018 Nuxeo. All rights reserved.