Class FileSystemReporterFactory
java.lang.Object
org.apache.tika.pipes.reporter.fs.FileSystemReporterFactory
- All Implemented Interfaces:
PipesReporterFactory,TikaExtensionFactory<PipesReporter>,org.pf4j.ExtensionPoint
Factory for creating file system status reporters.
Example JSON configuration:
"reporter": {
"file-system-reporter": {
"statusFile": "/path/to/status.json",
"reportUpdateMs": 1000
}
}
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
FileSystemReporterFactory
public FileSystemReporterFactory()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceTikaExtensionFactory<PipesReporter>- Returns:
- name of the extension in the config file
-
buildExtension
public FileSystemStatusReporter buildExtension(ExtensionConfig extensionConfig) throws IOException, TikaConfigException - Specified by:
buildExtensionin interfaceTikaExtensionFactory<PipesReporter>- Throws:
IOExceptionTikaConfigException
-