public static class IncrementalIngester.PipelineCheckFanout extends Object implements IOutputCheckActivity
Modifier and Type | Field and Description |
---|---|
protected IncrementalIngester.PipelineCheckEntryPoint[] |
entryPoints |
_rcsid
Constructor and Description |
---|
IncrementalIngester.PipelineCheckFanout(IncrementalIngester.PipelineCheckEntryPoint[] entryPoints) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkDateIndexable(Date date)
Detect if a document date is acceptable downstream or not.
|
boolean |
checkDocumentIndexable(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(String mimeType)
Detect if a mime type is acceptable downstream or not.
|
boolean |
checkURLIndexable(String uri)
Pre-determine whether a document's URL is acceptable downstream.
|
protected final IncrementalIngester.PipelineCheckEntryPoint[] entryPoints
public IncrementalIngester.PipelineCheckFanout(IncrementalIngester.PipelineCheckEntryPoint[] entryPoints)
public boolean checkDateIndexable(Date date) throws ManifoldCFException, ServiceInterruption
IOutputCheckActivity
checkDateIndexable
in interface IOutputCheckActivity
date
- is the date of the document.ManifoldCFException
ServiceInterruption
public boolean checkMimeTypeIndexable(String mimeType) throws ManifoldCFException, ServiceInterruption
IOutputCheckActivity
checkMimeTypeIndexable
in interface IOutputCheckActivity
mimeType
- is the mime type of the document.ManifoldCFException
ServiceInterruption
public boolean checkDocumentIndexable(File localFile) throws ManifoldCFException, ServiceInterruption
IOutputCheckActivity
checkDocumentIndexable
in interface IOutputCheckActivity
localFile
- is the local file to check.ManifoldCFException
ServiceInterruption
public boolean checkLengthIndexable(long length) throws ManifoldCFException, ServiceInterruption
IOutputCheckActivity
checkLengthIndexable
in interface IOutputCheckActivity
length
- is the length of the document.ManifoldCFException
ServiceInterruption
public boolean checkURLIndexable(String uri) throws ManifoldCFException, ServiceInterruption
IOutputCheckActivity
checkURLIndexable
in interface IOutputCheckActivity
uri
- is the URL of the document.ManifoldCFException
ServiceInterruption