public class CategorizerDescriptor extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.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)
public boolean isEnabled()
public void processDocument(DocumentModel doc, String textContent) throws PropertyException, ClientException
PropertyException
ClientException
public boolean shouldProcess(DocumentModel doc) throws ClientException
ClientException
public int getMinTextLength()
public void setMinTextLength(int minTextLength)
public CategorizerDescriptor merge(CategorizerDescriptor other)
Copyright © 2015 Nuxeo SA. All rights reserved.