Package org.apache.ofbiz.service.mail
Class ServiceMcaRule
- java.lang.Object
-
- org.apache.ofbiz.service.mail.ServiceMcaRule
-
- All Implemented Interfaces:
java.io.Serializable
public class ServiceMcaRule extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<ServiceMcaAction>
actions
protected java.util.List<ServiceMcaCondition>
conditions
protected boolean
enabled
static java.lang.String
module
protected java.lang.String
ruleName
-
Constructor Summary
Constructors Constructor Description ServiceMcaRule(org.w3c.dom.Element mca)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
eval(LocalDispatcher dispatcher, MimeMessageWrapper messageWrapper, java.util.Set<java.lang.String> actionsRun, GenericValue userLogin)
boolean
isEnabled()
void
setEnabled(boolean enabled)
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
ruleName
protected java.lang.String ruleName
-
conditions
protected java.util.List<ServiceMcaCondition> conditions
-
actions
protected java.util.List<ServiceMcaAction> actions
-
enabled
protected boolean enabled
-
-
Method Detail
-
eval
public void eval(LocalDispatcher dispatcher, MimeMessageWrapper messageWrapper, java.util.Set<java.lang.String> actionsRun, GenericValue userLogin) throws GenericServiceException
- Throws:
GenericServiceException
-
setEnabled
public void setEnabled(boolean enabled)
-
isEnabled
public boolean isEnabled()
-
-