Class MailResolver


  • @Deprecated
    public class MailResolver
    extends Resolver<java.lang.String>
    Deprecated.
    Will be removed in next major release.
    Basic resolver that exposes several data from a given mail. Here is a list of the keys available from this resolver and their corresponding value.
    Key Value
    mailId Mail identifier
    from Sender
    recipients Recipients (comma separated string)
    subject Subject
    message Mail text part
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String identifier
      Deprecated.
      Mail identifier.
      private java.util.Map<java.lang.String,​java.lang.Object> map
      Deprecated.
      The variables to use when formatting.
    • Constructor Summary

      Constructors 
      Constructor Description
      MailResolver​(java.lang.String identifier)
      Deprecated.
      Constructor.
      MailResolver​(java.lang.String identifier, Representation mail)
      Deprecated.
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void add​(java.lang.String key, java.lang.String value)
      Deprecated.
      Add a value.
      java.lang.String resolve​(java.lang.String name)
      Deprecated.
      Resolves a name into a value.
      • Methods inherited from class java.lang.Object

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

      • identifier

        private final java.lang.String identifier
        Deprecated.
        Mail identifier.
      • map

        private java.util.Map<java.lang.String,​java.lang.Object> map
        Deprecated.
        The variables to use when formatting.
    • Constructor Detail

      • MailResolver

        public MailResolver​(java.lang.String identifier)
        Deprecated.
        Constructor.
        Parameters:
        identifier - Identifier of the mail.
      • MailResolver

        public MailResolver​(java.lang.String identifier,
                            Representation mail)
        Deprecated.
        Constructor.
        Parameters:
        identifier - Identifier of the mail.
        mail - The mail.
    • Method Detail

      • add

        public void add​(java.lang.String key,
                        java.lang.String value)
        Deprecated.
        Add a value.
        Parameters:
        key - The key of the value.
        value - The value.
      • resolve

        public java.lang.String resolve​(java.lang.String name)
        Deprecated.
        Description copied from class: Resolver
        Resolves a name into a value.
        Specified by:
        resolve in class Resolver<java.lang.String>
        Parameters:
        name - The name to resolve.
        Returns:
        The resolved value.