Package org.apache.ofbiz.service.mail
Class ServiceMcaCondition
- java.lang.Object
-
- org.apache.ofbiz.service.mail.ServiceMcaCondition
-
- All Implemented Interfaces:
java.io.Serializable
public class ServiceMcaCondition extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
CONDITION_FIELD
static int
CONDITION_HEADER
static int
CONDITION_SERVICE
protected java.lang.String
fieldName
protected java.lang.String
headerName
static java.lang.String
module
protected java.lang.String
operator
protected java.lang.String
serviceName
protected java.lang.String
value
-
Constructor Summary
Constructors Constructor Description ServiceMcaCondition(org.w3c.dom.Element condElement, int condType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
eval(LocalDispatcher dispatcher, MimeMessageWrapper messageWrapper, GenericValue userLogin)
protected java.lang.String[]
getFieldValue(MimeMessage message, java.lang.String fieldName)
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
CONDITION_FIELD
public static final int CONDITION_FIELD
- See Also:
- Constant Field Values
-
CONDITION_HEADER
public static final int CONDITION_HEADER
- See Also:
- Constant Field Values
-
CONDITION_SERVICE
public static final int CONDITION_SERVICE
- See Also:
- Constant Field Values
-
serviceName
protected java.lang.String serviceName
-
headerName
protected java.lang.String headerName
-
fieldName
protected java.lang.String fieldName
-
operator
protected java.lang.String operator
-
value
protected java.lang.String value
-
-
Method Detail
-
eval
public boolean eval(LocalDispatcher dispatcher, MimeMessageWrapper messageWrapper, GenericValue userLogin)
-
getFieldValue
protected java.lang.String[] getFieldValue(MimeMessage message, java.lang.String fieldName) throws MessagingException, java.io.IOException
- Throws:
MessagingException
java.io.IOException
-
-