Class LogLevelState


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

      • LogLevelState

        public LogLevelState​(java.lang.String level,
                             java.lang.Long count,
                             java.util.List<LogMessageState> topMessages)
    • Method Detail

      • getLevel

        public java.lang.String getLevel()
      • getCount

        public java.lang.Long getCount()
      • 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
      • withLevel

        public LogLevelState withLevel​(java.lang.String level)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withCount

        public LogLevelState withCount​(java.lang.Long count)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withTopMessages

        public LogLevelState withTopMessages​(java.util.List<LogMessageState> topMessages)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).