Class LogSummaryState


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

      • LogSummaryState

        public LogSummaryState​(java.lang.String name,
                               java.time.LocalDateTime startTimestamp,
                               java.time.LocalDateTime endTimestamp,
                               java.util.List<LogLevelState> levels,
                               java.util.List<LogSummaryState> comparisons,
                               java.time.LocalDateTime updateTimestamp)
    • 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 LogLevelState> getLevels()
      • getComparisons

        public java.util.List<@NotNull @Valid LogSummaryState> getComparisons()
      • getUpdateTimestamp

        public java.time.LocalDateTime getUpdateTimestamp()
      • 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 LogSummaryState 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 LogSummaryState 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 LogSummaryState 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 LogSummaryState withLevels​(java.util.List<@NotNull @Valid LogLevelState> levels)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withComparisons

        public LogSummaryState withComparisons​(java.util.List<@NotNull @Valid LogSummaryState> comparisons)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withUpdateTimestamp

        public LogSummaryState withUpdateTimestamp​(java.time.LocalDateTime updateTimestamp)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).