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 void
checkInitialization(InitializableProblemHandler problemHandler)
List<PipesReporter>
getPipesReporters()
void
initialize(Map<String,Param> params)
void
report(FetchEmitTuple t, PipesResult result, long elapsed)
void
setPipesReporters(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:
report
in 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:
initialize
in interfaceInitializable
- Parameters:
params
- params to use for initialization- Throws:
TikaConfigException
-
checkInitialization
public void checkInitialization(InitializableProblemHandler problemHandler) throws TikaConfigException
- Specified by:
checkInitialization
in 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
-
-