Class IncrementalIngester.PipelineAddEntryPoint
- java.lang.Object
-
- org.apache.manifoldcf.agents.incrementalingest.IncrementalIngester.PipelineAddEntryPoint
-
- Direct Known Subclasses:
IncrementalIngester.OutputAddEntryPoint
- Enclosing class:
- IncrementalIngester
public static class IncrementalIngester.PipelineAddEntryPoint extends java.lang.Object
This class describes the entry stage of an add pipeline.
-
-
Field Summary
Fields Modifier and Type Field Description protected IOutputAddActivity
addActivity
protected java.lang.String
authorityNameString
protected boolean
isActive
protected IPipelineConnector
pipelineConnector
protected VersionContext
pipelineDescriptionString
-
Constructor Summary
Constructors Constructor Description PipelineAddEntryPoint(IPipelineConnector pipelineConnector, VersionContext pipelineDescriptionString, java.lang.String authorityNameString, IOutputAddActivity addActivity, boolean isActive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
addOrReplaceDocumentWithException(java.lang.String documentURI, RepositoryDocument document)
boolean
checkDateIndexable(java.util.Date date)
boolean
checkDocumentIndexable(java.io.File localFile)
boolean
checkLengthIndexable(long length)
boolean
checkMimeTypeIndexable(java.lang.String mimeType)
boolean
checkURLIndexable(java.lang.String uri)
boolean
isActive()
void
noDocument()
-
-
-
Field Detail
-
pipelineConnector
protected final IPipelineConnector pipelineConnector
-
pipelineDescriptionString
protected final VersionContext pipelineDescriptionString
-
authorityNameString
protected final java.lang.String authorityNameString
-
addActivity
protected final IOutputAddActivity addActivity
-
isActive
protected final boolean isActive
-
-
Constructor Detail
-
PipelineAddEntryPoint
public PipelineAddEntryPoint(IPipelineConnector pipelineConnector, VersionContext pipelineDescriptionString, java.lang.String authorityNameString, IOutputAddActivity addActivity, boolean isActive)
-
-
Method Detail
-
isActive
public boolean isActive()
-
checkDateIndexable
public boolean checkDateIndexable(java.util.Date date) throws ManifoldCFException, ServiceInterruption
-
checkMimeTypeIndexable
public boolean checkMimeTypeIndexable(java.lang.String mimeType) throws ManifoldCFException, ServiceInterruption
-
checkDocumentIndexable
public boolean checkDocumentIndexable(java.io.File localFile) throws ManifoldCFException, ServiceInterruption
-
checkLengthIndexable
public boolean checkLengthIndexable(long length) throws ManifoldCFException, ServiceInterruption
-
checkURLIndexable
public boolean checkURLIndexable(java.lang.String uri) throws ManifoldCFException, ServiceInterruption
-
addOrReplaceDocumentWithException
public int addOrReplaceDocumentWithException(java.lang.String documentURI, RepositoryDocument document) throws ManifoldCFException, ServiceInterruption, java.io.IOException
- Throws:
ManifoldCFException
ServiceInterruption
java.io.IOException
-
noDocument
public void noDocument() throws ManifoldCFException, ServiceInterruption
-
-