Package 

Interface DateSeparatorHandler


  • 
    public interface DateSeparatorHandler
    
                        

    A SAM designed to evaluate if a date separator should be added between messages.

    • Method Summary

      Modifier and Type Method Description
      abstract Boolean shouldAddDateSeparator(Message previousMessage, Message message) Determines whether we should add the date separator or not.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • shouldAddDateSeparator

         abstract Boolean shouldAddDateSeparator(Message previousMessage, Message message)

        Determines whether we should add the date separator or not.

        Parameters:
        previousMessage - The Message before the one we are currently evaluating.
        message - The Message before which we want to add a date separator or not.