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