Class MessageBean


  • public class MessageBean
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      MessageBean​(java.lang.String msg)  
      MessageBean​(java.time.Instant date, java.lang.String msg)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean finished​(long timeout)
      Has the message finished given the timeout?
      java.lang.String formatMessage​(boolean writeDates)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MessageBean

        public MessageBean​(java.time.Instant date,
                           java.lang.String msg)
      • MessageBean

        public MessageBean​(java.lang.String msg)
    • Method Detail

      • finished

        public boolean finished​(long timeout)
        Has the message finished given the timeout?
      • toString

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

        public java.lang.String formatMessage​(boolean writeDates)