public class CategorizerDescriptor extends Object
Modifier and Type | Field and Description |
---|---|
static Log |
log |
List<String> |
skipFacets |
Constructor and Description |
---|
CategorizerDescriptor() |
Modifier and Type | Method and Description |
---|---|
int |
getMinTextLength() |
String |
getName() |
void |
initializeInContext(RuntimeContext context) |
boolean |
isEnabled() |
CategorizerDescriptor |
merge(CategorizerDescriptor other)
Chainable update the parameters of the current descriptor with the
non-null parameters of the other descriptor.
|
void |
processDocument(DocumentModel doc,
String textContent) |
void |
setMinTextLength(int minTextLength) |
boolean |
shouldProcess(DocumentModel doc) |
public String getName()
public void initializeInContext(RuntimeContext context) throws InstantiationException, IllegalAccessException, ClassNotFoundException, IOException
public boolean isEnabled()
public void processDocument(DocumentModel doc, String textContent) throws PropertyException, ClientException, IOException
public boolean shouldProcess(DocumentModel doc) throws ClientException
ClientException
public int getMinTextLength()
public void setMinTextLength(int minTextLength)
public CategorizerDescriptor merge(CategorizerDescriptor other)
Copyright © 2013 Nuxeo SA. All Rights Reserved.