Class LogStoreListener
- java.lang.Object
-
- ru.ispras.microtesk.translator.antlrex.log.LogStoreListener
-
- All Implemented Interfaces:
LogStore
public abstract class LogStoreListener extends java.lang.Object implements LogStore
TheLogStoreListener
class is designed as a base class for classes that listen to events posted to the log. Such classes are needed for unit testing when the test bench checks whether the translator works correctly by monitoring errors it raises.
-
-
Constructor Summary
Constructors Constructor Description LogStoreListener(LogStore log)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
append(LogEntry entry)
Appends a record to the log store.protected abstract void
processLogEntry(LogEntry entry)
-