Package org.apache.tika.pipes
Class CompositePipesReporter
- java.lang.Object
-
- org.apache.tika.pipes.PipesReporter
-
- org.apache.tika.pipes.CompositePipesReporter
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Initializable
public class CompositePipesReporter extends PipesReporter implements Initializable
-
-
Field Summary
-
Fields inherited from class org.apache.tika.pipes.PipesReporter
NO_OP_REPORTER
-
-
Constructor Summary
Constructors Constructor Description CompositePipesReporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckInitialization(InitializableProblemHandler problemHandler)List<PipesReporter>getPipesReporters()voidinitialize(Map<String,Param> params)voidreport(FetchEmitTuple t, PipesResult result, long elapsed)voidsetPipesReporters(List<PipesReporter> pipesReporters)-
Methods inherited from class org.apache.tika.pipes.PipesReporter
close
-
-
-
-
Method Detail
-
report
public void report(FetchEmitTuple t, PipesResult result, long elapsed)
- Specified by:
reportin classPipesReporter
-
setPipesReporters
@Field public void setPipesReporters(List<PipesReporter> pipesReporters)
-
getPipesReporters
public List<PipesReporter> getPipesReporters()
-
initialize
public void initialize(Map<String,Param> params) throws TikaConfigException
- Specified by:
initializein interfaceInitializable- Parameters:
params- params to use for initialization- Throws:
TikaConfigException
-
checkInitialization
public void checkInitialization(InitializableProblemHandler problemHandler) throws TikaConfigException
- Specified by:
checkInitializationin interfaceInitializable- Parameters:
problemHandler- if there is a problem and no custom initializableProblemHandler has been configured via Initializable parameters, this is called to respond.- Throws:
TikaConfigException
-
-