Class LogSummary


  • public final class LogSummary
    extends java.lang.Object
    • Constructor Detail

      • LogSummary

        public LogSummary​(java.lang.String name,
                          java.time.LocalDateTime startTimestamp,
                          java.time.LocalDateTime endTimestamp,
                          java.util.List<LogLevelSummary> levels)
    • Method Detail

      • getName

        public java.lang.String getName()
      • getStartTimestamp

        public java.time.LocalDateTime getStartTimestamp()
      • getEndTimestamp

        public java.time.LocalDateTime getEndTimestamp()
      • getLevels

        public java.util.List<@NotNull @Valid LogLevelSummary> getLevels()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • withName

        public LogSummary withName​(java.lang.String name)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withStartTimestamp

        public LogSummary withStartTimestamp​(java.time.LocalDateTime startTimestamp)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withEndTimestamp

        public LogSummary withEndTimestamp​(java.time.LocalDateTime endTimestamp)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withLevels

        public LogSummary withLevels​(java.util.List<@NotNull @Valid LogLevelSummary> levels)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).