Class LogEntries

  • All Implemented Interfaces:

    public class LogEntries
    extends java.lang.Object
    implements java.lang.Iterable<LogEntry>
    Represent a pool of LogEntry. This class also provides filtering mechanisms based on levels.
    • Constructor Summary

      Constructor Description
      LogEntries​(java.lang.Iterable<LogEntry> entries)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<LogEntry> getAll()
      Get the list of all log entries.
      java.util.Iterator<LogEntry> iterator()  
      java.util.List<LogEntry> toJson()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • LogEntries

        public LogEntries​(java.lang.Iterable<LogEntry> entries)
    • Method Detail

      • getAll

        public java.util.List<LogEntry> getAll()
        Get the list of all log entries.
        a view of all LogEntry fetched
      • iterator

        public java.util.Iterator<LogEntry> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<LogEntry>