Class ServiceMcaCondition

java.lang.Object
org.apache.ofbiz.service.mail.ServiceMcaCondition
All Implemented Interfaces:
Serializable

public class ServiceMcaCondition extends Object implements Serializable
See Also:
  • Field Details

  • Constructor Details

    • ServiceMcaCondition

      public ServiceMcaCondition(Element condElement, int condType)
  • Method Details

    • eval

      public boolean eval(LocalDispatcher dispatcher, MimeMessageWrapper messageWrapper, GenericValue userLogin)
      Eval boolean.
      Parameters:
      dispatcher - the dispatcher
      messageWrapper - the message wrapper
      userLogin - the user login
      Returns:
      the boolean
    • getFieldValue

      protected String[] getFieldValue(javax.mail.internet.MimeMessage message, String fieldName) throws javax.mail.MessagingException, IOException
      Get field value string [ ].
      Parameters:
      message - the message
      fieldName - the field name
      Returns:
      the string [ ]
      Throws:
      javax.mail.MessagingException - the messaging exception
      IOException - the io exception