Package com.logicaldoc.email
Class EmailRule
java.lang.Object
com.logicaldoc.email.EmailRule
A rule for routing an emails to the proper folder
- Since:
- 4.6.0
- Author:
- Marco Meschieri - LogicalDOC
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Long
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getField()
int
void
setExpression
(String expression) void
setField
(int field) void
setPolicy
(int policy) void
setTargetFolder
(Long targetFolder)
-
Field Details
-
FIELD_SUBJECT
public static final int FIELD_SUBJECT- See Also:
-
FIELD_SENDER
public static final int FIELD_SENDER- See Also:
-
FIELD_CONTENT
public static final int FIELD_CONTENT- See Also:
-
FIELD_RECIPIENT
public static final int FIELD_RECIPIENT- See Also:
-
POLICY_CONTAINS
public static final int POLICY_CONTAINS- See Also:
-
POLICY_NOT_CONTAINS
public static final int POLICY_NOT_CONTAINS- See Also:
-
MATCHES
public static final int MATCHES- See Also:
-
DISCARD_FOLDERID
-
-
Constructor Details
-
EmailRule
public EmailRule()
-
-
Method Details
-
getField
public int getField() -
setField
public void setField(int field) -
getPolicy
public int getPolicy() -
setPolicy
public void setPolicy(int policy) -
getExpression
-
setExpression
-
getTargetFolder
-
setTargetFolder
-