public final class RulePredicates extends Object
Represents rule predicate
Constructor and Description |
---|
RulePredicates()
Initializes a new instance of the
RulePredicates class |
Modifier and Type | Method and Description |
---|---|
com.aspose.ms.System.Collections.Specialized.StringCollection |
containsBodyStrings()
Gets or sets the strings that appear in the body of incoming messages in order for the condition or exception to apply.
|
void |
containsBodyStrings(com.aspose.ms.System.Collections.Specialized.StringCollection value)
Gets or sets the strings that appear in the body of incoming messages in order for the condition or exception to apply.
|
com.aspose.ms.System.Collections.Specialized.StringCollection |
containsHeaderStrings()
Gets or sets the strings that appear in the headers of incoming messages in order for the condition or exception to apply.
|
void |
containsHeaderStrings(com.aspose.ms.System.Collections.Specialized.StringCollection value)
Gets or sets the strings that appear in the headers of incoming messages in order for the condition or exception to apply.
|
com.aspose.ms.System.Collections.Specialized.StringCollection |
containsRecipientStrings()
Gets or sets the strings that appear in either the ToRecipients or CcRecipients properties of incoming messages in order for the condition or exception to apply.
|
void |
containsRecipientStrings(com.aspose.ms.System.Collections.Specialized.StringCollection value)
Gets or sets the strings that appear in either the ToRecipients or CcRecipients properties of incoming messages in order for the condition or exception to apply.
|
com.aspose.ms.System.Collections.Specialized.StringCollection |
containsSenderStrings()
Gets or sets the strings that appears in the From property of incoming messages in order for the condition or exception to apply
|
void |
containsSenderStrings(com.aspose.ms.System.Collections.Specialized.StringCollection value)
Gets or sets the strings that appears in the From property of incoming messages in order for the condition or exception to apply
|
com.aspose.ms.System.Collections.Specialized.StringCollection |
containsSubjectOrBodyStrings()
Gets or sets the strings that appear in either the body or the subject of incoming messages in order for the condition or exception to apply.
|
void |
containsSubjectOrBodyStrings(com.aspose.ms.System.Collections.Specialized.StringCollection value)
Gets or sets the strings that appear in either the body or the subject of incoming messages in order for the condition or exception to apply.
|
com.aspose.ms.System.Collections.Specialized.StringCollection |
containsSubjectStrings()
Gets or sets the strings that appear in the subject of incoming messages in order for the condition or exception to apply.
|
void |
containsSubjectStrings(com.aspose.ms.System.Collections.Specialized.StringCollection value)
Gets or sets the strings that appear in the subject of incoming messages in order for the condition or exception to apply.
|
com.aspose.ms.System.Collections.Specialized.StringCollection |
getCategories()
Gets or sets the categories that an incoming message is labeled with in order for the condition or exception to apply.
|
int |
getFlaggedForAction()
Gets or sets the flag for action value that appears on incoming messages in order for the condition or exception to apply.
|
MailAddressCollection |
getFromAddresses()
Gets or sets the e-mail addresses of the senders of incoming messages in order for the condition or exception to apply.
|
com.aspose.ms.System.Collections.Specialized.StringCollection |
getFromConnectedAccounts()
Gets or sets the e-mail account names from which incoming messages have to have been aggregated in order for the condition or exception to apply.
|
int |
getImportance()
Gets or sets the importance that is stamped on incoming messages in order for the condition or exception to apply.
|
com.aspose.ms.System.Collections.Specialized.StringCollection |
getItemClasses()
Gets or sets the item classes that must be stamped on incoming messages in order for the condition or exception to apply.
|
com.aspose.ms.System.Collections.Specialized.StringCollection |
getMessageClassifications()
Gets or sets the message classifications that must be stamped on incoming messages in order for the condition or exception to apply.
|
int |
getRulePredicateFlags()
Gets or sets rule predicate flags
|
int |
getSensitivity()
Gets or sets the sensitivity that must be stamped on incoming messages in order for the condition or exception to apply.
|
MailAddressCollection |
getSentToAddresses()
Gets or sets the e-mail addresses that incoming messages have to have been sent to in order for the condition or exception to apply.
|
DateRange |
getWithinDateRange()
Gets or sets the date range within which incoming messages have to have been received in order for the condition or exception to apply.
|
SizeRange |
getWithinSizeRange()
Gets or sets the minimum and maximum sizes that incoming messages have to have in order for the condition or exception to apply.
|
void |
setCategories(com.aspose.ms.System.Collections.Specialized.StringCollection value)
Gets or sets the categories that an incoming message is labeled with in order for the condition or exception to apply.
|
void |
setFlaggedForAction(int value)
Gets or sets the flag for action value that appears on incoming messages in order for the condition or exception to apply.
|
void |
setFromAddresses(MailAddressCollection value)
Gets or sets the e-mail addresses of the senders of incoming messages in order for the condition or exception to apply.
|
void |
setFromConnectedAccounts(com.aspose.ms.System.Collections.Specialized.StringCollection value)
Gets or sets the e-mail account names from which incoming messages have to have been aggregated in order for the condition or exception to apply.
|
void |
setImportance(int value)
Gets or sets the importance that is stamped on incoming messages in order for the condition or exception to apply.
|
void |
setItemClasses(com.aspose.ms.System.Collections.Specialized.StringCollection value)
Gets or sets the item classes that must be stamped on incoming messages in order for the condition or exception to apply.
|
void |
setMessageClassifications(com.aspose.ms.System.Collections.Specialized.StringCollection value)
Gets or sets the message classifications that must be stamped on incoming messages in order for the condition or exception to apply.
|
void |
setRulePredicateFlags(int value)
Gets or sets rule predicate flags
|
void |
setSensitivity(int value)
Gets or sets the sensitivity that must be stamped on incoming messages in order for the condition or exception to apply.
|
void |
setSentToAddresses(MailAddressCollection value)
Gets or sets the e-mail addresses that incoming messages have to have been sent to in order for the condition or exception to apply.
|
void |
setWithinDateRange(DateRange value)
Gets or sets the date range within which incoming messages have to have been received in order for the condition or exception to apply.
|
void |
setWithinSizeRange(SizeRange value)
Gets or sets the minimum and maximum sizes that incoming messages have to have in order for the condition or exception to apply.
|
public RulePredicates()
Initializes a new instance of the RulePredicates
class
public com.aspose.ms.System.Collections.Specialized.StringCollection getCategories()
Gets or sets the categories that an incoming message is labeled with in order for the condition or exception to apply.
StringCollection
object.public void setCategories(com.aspose.ms.System.Collections.Specialized.StringCollection value)
Gets or sets the categories that an incoming message is labeled with in order for the condition or exception to apply.
value
- a StringCollection
object.public com.aspose.ms.System.Collections.Specialized.StringCollection containsBodyStrings()
Gets or sets the strings that appear in the body of incoming messages in order for the condition or exception to apply.
StringCollection
object.public void containsBodyStrings(com.aspose.ms.System.Collections.Specialized.StringCollection value)
Gets or sets the strings that appear in the body of incoming messages in order for the condition or exception to apply.
value
- a StringCollection
object.public com.aspose.ms.System.Collections.Specialized.StringCollection containsHeaderStrings()
Gets or sets the strings that appear in the headers of incoming messages in order for the condition or exception to apply.
StringCollection
object.public void containsHeaderStrings(com.aspose.ms.System.Collections.Specialized.StringCollection value)
Gets or sets the strings that appear in the headers of incoming messages in order for the condition or exception to apply.
value
- a StringCollection
object.public com.aspose.ms.System.Collections.Specialized.StringCollection containsRecipientStrings()
Gets or sets the strings that appear in either the ToRecipients or CcRecipients properties of incoming messages in order for the condition or exception to apply.
StringCollection
object.public void containsRecipientStrings(com.aspose.ms.System.Collections.Specialized.StringCollection value)
Gets or sets the strings that appear in either the ToRecipients or CcRecipients properties of incoming messages in order for the condition or exception to apply.
value
- a StringCollection
object.public com.aspose.ms.System.Collections.Specialized.StringCollection containsSenderStrings()
Gets or sets the strings that appears in the From property of incoming messages in order for the condition or exception to apply
StringCollection
object.public void containsSenderStrings(com.aspose.ms.System.Collections.Specialized.StringCollection value)
Gets or sets the strings that appears in the From property of incoming messages in order for the condition or exception to apply
value
- a StringCollection
object.public com.aspose.ms.System.Collections.Specialized.StringCollection containsSubjectOrBodyStrings()
Gets or sets the strings that appear in either the body or the subject of incoming messages in order for the condition or exception to apply.
StringCollection
object.public void containsSubjectOrBodyStrings(com.aspose.ms.System.Collections.Specialized.StringCollection value)
Gets or sets the strings that appear in either the body or the subject of incoming messages in order for the condition or exception to apply.
value
- a StringCollection
object.public com.aspose.ms.System.Collections.Specialized.StringCollection containsSubjectStrings()
Gets or sets the strings that appear in the subject of incoming messages in order for the condition or exception to apply.
StringCollection
object.public void containsSubjectStrings(com.aspose.ms.System.Collections.Specialized.StringCollection value)
Gets or sets the strings that appear in the subject of incoming messages in order for the condition or exception to apply.
value
- a StringCollection
object.public int getFlaggedForAction()
Gets or sets the flag for action value that appears on incoming messages in order for the condition or exception to apply.
public void setFlaggedForAction(int value)
Gets or sets the flag for action value that appears on incoming messages in order for the condition or exception to apply.
value
- a int.public MailAddressCollection getFromAddresses()
Gets or sets the e-mail addresses of the senders of incoming messages in order for the condition or exception to apply.
MailAddressCollection
object.public void setFromAddresses(MailAddressCollection value)
Gets or sets the e-mail addresses of the senders of incoming messages in order for the condition or exception to apply.
value
- a MailAddressCollection
object.public com.aspose.ms.System.Collections.Specialized.StringCollection getFromConnectedAccounts()
Gets or sets the e-mail account names from which incoming messages have to have been aggregated in order for the condition or exception to apply.
StringCollection
object.public void setFromConnectedAccounts(com.aspose.ms.System.Collections.Specialized.StringCollection value)
Gets or sets the e-mail account names from which incoming messages have to have been aggregated in order for the condition or exception to apply.
value
- a StringCollection
object.public int getImportance()
Gets or sets the importance that is stamped on incoming messages in order for the condition or exception to apply.
public void setImportance(int value)
Gets or sets the importance that is stamped on incoming messages in order for the condition or exception to apply.
value
- a int.public com.aspose.ms.System.Collections.Specialized.StringCollection getItemClasses()
Gets or sets the item classes that must be stamped on incoming messages in order for the condition or exception to apply.
StringCollection
object.public void setItemClasses(com.aspose.ms.System.Collections.Specialized.StringCollection value)
Gets or sets the item classes that must be stamped on incoming messages in order for the condition or exception to apply.
value
- a StringCollection
object.public com.aspose.ms.System.Collections.Specialized.StringCollection getMessageClassifications()
Gets or sets the message classifications that must be stamped on incoming messages in order for the condition or exception to apply.
StringCollection
object.public void setMessageClassifications(com.aspose.ms.System.Collections.Specialized.StringCollection value)
Gets or sets the message classifications that must be stamped on incoming messages in order for the condition or exception to apply.
value
- a StringCollection
object.public MailAddressCollection getSentToAddresses()
Gets or sets the e-mail addresses that incoming messages have to have been sent to in order for the condition or exception to apply.
MailAddressCollection
object.public void setSentToAddresses(MailAddressCollection value)
Gets or sets the e-mail addresses that incoming messages have to have been sent to in order for the condition or exception to apply.
value
- a MailAddressCollection
object.public int getSensitivity()
Gets or sets the sensitivity that must be stamped on incoming messages in order for the condition or exception to apply.
public void setSensitivity(int value)
Gets or sets the sensitivity that must be stamped on incoming messages in order for the condition or exception to apply.
value
- a int.public DateRange getWithinDateRange()
Gets or sets the date range within which incoming messages have to have been received in order for the condition or exception to apply.
DateRange
object.public void setWithinDateRange(DateRange value)
Gets or sets the date range within which incoming messages have to have been received in order for the condition or exception to apply.
value
- a DateRange
object.public SizeRange getWithinSizeRange()
Gets or sets the minimum and maximum sizes that incoming messages have to have in order for the condition or exception to apply.
SizeRange
object.public void setWithinSizeRange(SizeRange value)
Gets or sets the minimum and maximum sizes that incoming messages have to have in order for the condition or exception to apply.
value
- a SizeRange
object.public int getRulePredicateFlags()
Gets or sets rule predicate flags
public void setRulePredicateFlags(int value)
Gets or sets rule predicate flags
value
- a int.Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.