Class NullDestination

    • Constructor Summary

      Constructors 
      Constructor Description
      NullDestination()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void data​(Mail mail)
      Processes the mail.
      String toString()
      Returns a string representation of the destination suitable for logging purposes.
      • Methods inherited from class java.lang.Object

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

      • NullDestination

        public NullDestination()
    • Method Detail

      • toString

        public String toString()
        Description copied from interface: ResponsibleDestination
        Returns a string representation of the destination suitable for logging purposes. Usually it should contain enough information to show the difference between non-equal destinations.
        Specified by:
        toString in interface ResponsibleDestination
        Overrides:
        toString in class Object