Interface FromConfiguration

All Known Implementing Classes:
FromConfigurationProperties
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface FromConfiguration
A bean of type FromConfiguration defines the default sender. It will be used by FromDecorator to populate Email.getFrom() if not specified.
Since:
1.0.0
Author:
Sergio del Amo
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull Contact
     
  • Method Details

    • getFrom

      @NonNull @NonNull Contact getFrom()
      Returns:
      Contact of the person sending the email.