Class LogSummaryState

    • Constructor Detail

      • LogSummaryState

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

      • of

        public static LogSummaryState of​(java.lang.String pluginId,
                                         java.lang.String environmentId,
                                         LogSummary logSummary,
                                         java.util.List<LogSummary> comparisons,
                                         java.time.LocalDateTime updateTimestamp)
      • 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()
      • getComparisons

        public java.util.List<@NotNull @Valid LogSummary> 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
      • withPluginId

        public LogSummaryState withPluginId​(java.lang.String pluginId)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withEnvironmentId

        public LogSummaryState withEnvironmentId​(java.lang.String environmentId)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • 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 LogLevelSummary> 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 LogSummary> 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).