Class ImmutableLogMsg

  • All Implemented Interfaces:
    ILogMsg

    public final class ImmutableLogMsg
    extends java.lang.Object
    implements ILogMsg
    An immutable implementation of 'ILogMsg'.
    • Method Detail

      • immutableCopy

        public static ILogMsg immutableCopy​(ILogMsg logMsg)
      • getContent

        public java.lang.String getContent()
        Specified by:
        getContent in interface ILogMsg
      • getNotify

        public java.lang.Boolean getNotify()
        Specified by:
        getNotify in interface ILogMsg
      • hasNotify

        public boolean hasNotify()
        Specified by:
        hasNotify in interface ILogMsg
      • getDest

        public java.lang.String getDest()
        Specified by:
        getDest in interface ILogMsg
      • 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