public static class IncrementalIngester.PipelineCheckFanout extends java.lang.Object implements IOutputCheckActivity
| Modifier and Type | Field and Description |
|---|---|
protected IncrementalIngester.PipelineCheckEntryPoint[] |
entryPoints |
_rcsid| Constructor and Description |
|---|
PipelineCheckFanout(IncrementalIngester.PipelineCheckEntryPoint[] entryPoints) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkDateIndexable(java.util.Date date)
Detect if a document date is acceptable downstream or not.
|
boolean |
checkDocumentIndexable(java.io.File localFile)
Pre-determine whether a document (passed here as a File object) is acceptable downstream.
|
boolean |
checkLengthIndexable(long length)
Pre-determine whether a document's length is acceptable downstream.
|
boolean |
checkMimeTypeIndexable(java.lang.String mimeType)
Detect if a mime type is acceptable downstream or not.
|
boolean |
checkURLIndexable(java.lang.String uri)
Pre-determine whether a document's URL is acceptable downstream.
|
protected final IncrementalIngester.PipelineCheckEntryPoint[] entryPoints
public PipelineCheckFanout(IncrementalIngester.PipelineCheckEntryPoint[] entryPoints)
public boolean checkDateIndexable(java.util.Date date)
throws ManifoldCFException,
ServiceInterruption
IOutputCheckActivitycheckDateIndexable in interface IOutputCheckActivitydate - is the date of the document.ManifoldCFExceptionServiceInterruptionpublic boolean checkMimeTypeIndexable(java.lang.String mimeType)
throws ManifoldCFException,
ServiceInterruption
IOutputCheckActivitycheckMimeTypeIndexable in interface IOutputCheckActivitymimeType - is the mime type of the document.ManifoldCFExceptionServiceInterruptionpublic boolean checkDocumentIndexable(java.io.File localFile)
throws ManifoldCFException,
ServiceInterruption
IOutputCheckActivitycheckDocumentIndexable in interface IOutputCheckActivitylocalFile - is the local file to check.ManifoldCFExceptionServiceInterruptionpublic boolean checkLengthIndexable(long length)
throws ManifoldCFException,
ServiceInterruption
IOutputCheckActivitycheckLengthIndexable in interface IOutputCheckActivitylength - is the length of the document.ManifoldCFExceptionServiceInterruptionpublic boolean checkURLIndexable(java.lang.String uri)
throws ManifoldCFException,
ServiceInterruption
IOutputCheckActivitycheckURLIndexable in interface IOutputCheckActivityuri - is the URL of the document.ManifoldCFExceptionServiceInterruption