Package adams.db

Interface MutableLogEntryHandler

  • All Superinterfaces:
    LogEntryHandler
    All Known Implementing Classes:
    Flow

    public interface MutableLogEntryHandler
    extends LogEntryHandler
    Interface for classes that allow the internally stored list of LogEntry records to be modified from outside.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    • Method Detail

      • clearLogEntries

        void clearLogEntries()
        Removes all currently stored LogEntry records.
      • addLogEntry

        void addLogEntry​(LogEntry entry)
        Adds the LogEntry record to the internal list.
        Parameters:
        entry - the record to add
      • getLogEntry

        LogEntry getLogEntry​(int index)
        Returns the specified LogEntry record.
        Parameters:
        index - the index of the record to return
        Returns:
        the requested LogEntry
      • removeLogEntry

        LogEntry removeLogEntry​(int index)
        Removes the specified LogEntry record from the internal list.
        Parameters:
        index - the index of the record to delete
        Returns:
        the deleted LogEntry