org.weborganic.bastille.flint.helpers
Class QuietListener
java.lang.Object
org.weborganic.bastille.flint.helpers.QuietListener
- All Implemented Interfaces:
- IndexListener
public final class QuietListener
- extends Object
- implements IndexListener
A Flint listener which reports less events than the default.
- Since:
- 0.8.6
Constructor Summary |
QuietListener(Logger logger)
Creates a new logger for the specified Logger. |
QuietListener
public QuietListener(Logger logger)
- Creates a new logger for the specified Logger.
- Parameters:
logger
- The underlying logger to use.
startJob
public void startJob(IndexJob job)
- Specified by:
startJob
in interface IndexListener
warn
public void warn(IndexJob job,
String message)
- Specified by:
warn
in interface IndexListener
error
public void error(IndexJob job,
String message,
Throwable throwable)
- Specified by:
error
in interface IndexListener
endJob
public void endJob(IndexJob job)
- Specified by:
endJob
in interface IndexListener
startBatch
public void startBatch()
- Specified by:
startBatch
in interface IndexListener
endBatch
public void endBatch()
- Specified by:
endBatch
in interface IndexListener