Class MailSenderDescriptor

java.lang.Object
org.nuxeo.mail.MailSenderDescriptor
All Implemented Interfaces:
Descriptor

public class MailSenderDescriptor extends Object implements Descriptor
Describes a MailSender which can be parameterized with properties.
Since:
2023.4
  • Field Details

  • Constructor Details

    • MailSenderDescriptor

      public MailSenderDescriptor()
  • Method Details

    • getId

      public String getId()
      Description copied from interface: Descriptor
      The descriptor id, descriptors with same id are merged.

      To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.

      To forbid merge use a unique value, non-overriden toString() for exemple.

      Specified by:
      getId in interface Descriptor
    • getName

      public String getName()
    • getKlass

      public Class<? extends MailSender> getKlass()
    • getProperties

      public Map<String,String> getProperties()
    • newInstance

      public MailSender newInstance()