Class LogStoreListener

  • All Implemented Interfaces:
    LogStore

    public abstract class LogStoreListener
    extends java.lang.Object
    implements LogStore
    The LogStoreListener 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 Detail

      • LogStoreListener

        public LogStoreListener​(LogStore log)
    • Method Detail

      • append

        public final void append​(LogEntry entry)
        Description copied from interface: LogStore
        Appends a record to the log store.
        Specified by:
        append in interface LogStore
        Parameters:
        entry - A log entry object. Stores detailed information bout the event.
      • processLogEntry

        protected abstract void processLogEntry​(LogEntry entry)