RulePredicates

Inheritance: java.lang.Object

public final class RulePredicates

Represents rule predicate

Constructors

Constructor Description
RulePredicates() Initializes a new instance of the RulePredicates class

Methods

Method Description
getCategories() Gets or sets the categories that an incoming message is labeled with in order for the condition or exception to apply.
setCategories(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.
containsBodyStrings() Gets or sets the strings that appear in the body of incoming messages in order for the condition or exception to apply.
containsBodyStrings(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.
containsHeaderStrings() Gets or sets the strings that appear in the headers of incoming messages in order for the condition or exception to apply.
containsHeaderStrings(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.
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.
containsRecipientStrings(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.
containsSenderStrings() Gets or sets the strings that appears in the From property of incoming messages in order for the condition or exception to apply
containsSenderStrings(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
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.
containsSubjectOrBodyStrings(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.
containsSubjectStrings() Gets or sets the strings that appear in the subject of incoming messages in order for the condition or exception to apply.
containsSubjectStrings(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.
getFlaggedForAction() Gets or sets the flag for action value that appears on incoming messages in order for the condition or exception to apply.
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.
getFromAddresses() Gets or sets the e-mail addresses of the senders of incoming messages in order for the condition or exception to apply.
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.
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.
setFromConnectedAccounts(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.
getImportance() Gets or sets the importance that is stamped on incoming messages in order for the condition or exception to apply.
setImportance(int value) Gets or sets the importance that is stamped on incoming messages in order for the condition or exception to apply.
getItemClasses() Gets or sets the item classes that must be stamped on incoming messages in order for the condition or exception to apply.
setItemClasses(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.
getMessageClassifications() Gets or sets the message classifications that must be stamped on incoming messages in order for the condition or exception to apply.
setMessageClassifications(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.
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.
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.
getSensitivity() Gets or sets the sensitivity that must be stamped on incoming messages in order for the condition or exception to apply.
setSensitivity(int value) Gets or sets the sensitivity that must be stamped on incoming messages in order for the condition or exception to apply.
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.
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.
getWithinSizeRange() Gets or sets the minimum and maximum sizes that incoming messages have to have in order for the condition or exception to apply.
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.
getRulePredicateFlags() Gets or sets rule predicate flags
setRulePredicateFlags(int value) Gets or sets rule predicate flags

RulePredicates()

public RulePredicates()

Initializes a new instance of the RulePredicates class

getCategories()

public final 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.

Returns: com.aspose.ms.System.Collections.Specialized.StringCollection

setCategories(System.Collections.Specialized.StringCollection value)

public final void setCategories(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.

Parameters:

Parameter Type Description
value com.aspose.ms.System.Collections.Specialized.StringCollection

containsBodyStrings()

public final 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.

Returns: com.aspose.ms.System.Collections.Specialized.StringCollection

containsBodyStrings(System.Collections.Specialized.StringCollection value)

public final void containsBodyStrings(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.

Parameters:

Parameter Type Description
value com.aspose.ms.System.Collections.Specialized.StringCollection

containsHeaderStrings()

public final 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.

Returns: com.aspose.ms.System.Collections.Specialized.StringCollection

containsHeaderStrings(System.Collections.Specialized.StringCollection value)

public final void containsHeaderStrings(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.

Parameters:

Parameter Type Description
value com.aspose.ms.System.Collections.Specialized.StringCollection

containsRecipientStrings()

public final 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.

Returns: com.aspose.ms.System.Collections.Specialized.StringCollection

containsRecipientStrings(System.Collections.Specialized.StringCollection value)

public final void containsRecipientStrings(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.

Parameters:

Parameter Type Description
value com.aspose.ms.System.Collections.Specialized.StringCollection

containsSenderStrings()

public final 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

Returns: com.aspose.ms.System.Collections.Specialized.StringCollection

containsSenderStrings(System.Collections.Specialized.StringCollection value)

public final void containsSenderStrings(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

Parameters:

Parameter Type Description
value com.aspose.ms.System.Collections.Specialized.StringCollection

containsSubjectOrBodyStrings()

public final 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.

Returns: com.aspose.ms.System.Collections.Specialized.StringCollection

containsSubjectOrBodyStrings(System.Collections.Specialized.StringCollection value)

public final void containsSubjectOrBodyStrings(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.

Parameters:

Parameter Type Description
value com.aspose.ms.System.Collections.Specialized.StringCollection

containsSubjectStrings()

public final 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.

Returns: com.aspose.ms.System.Collections.Specialized.StringCollection

containsSubjectStrings(System.Collections.Specialized.StringCollection value)

public final void containsSubjectStrings(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.

Parameters:

Parameter Type Description
value com.aspose.ms.System.Collections.Specialized.StringCollection

getFlaggedForAction()

public final int getFlaggedForAction()

Gets or sets the flag for action value that appears on incoming messages in order for the condition or exception to apply.

Returns: int

setFlaggedForAction(int value)

public final 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.

Parameters:

Parameter Type Description
value int

getFromAddresses()

public final MailAddressCollection getFromAddresses()

Gets or sets the e-mail addresses of the senders of incoming messages in order for the condition or exception to apply.

Returns: MailAddressCollection

setFromAddresses(MailAddressCollection value)

public final 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.

Parameters:

Parameter Type Description
value MailAddressCollection

getFromConnectedAccounts()

public final 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.

Returns: com.aspose.ms.System.Collections.Specialized.StringCollection

setFromConnectedAccounts(System.Collections.Specialized.StringCollection value)

public final void setFromConnectedAccounts(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.

Parameters:

Parameter Type Description
value com.aspose.ms.System.Collections.Specialized.StringCollection

getImportance()

public final int getImportance()

Gets or sets the importance that is stamped on incoming messages in order for the condition or exception to apply.

Returns: int

setImportance(int value)

public final void setImportance(int value)

Gets or sets the importance that is stamped on incoming messages in order for the condition or exception to apply.

Parameters:

Parameter Type Description
value int

getItemClasses()

public final 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.

Returns: com.aspose.ms.System.Collections.Specialized.StringCollection

setItemClasses(System.Collections.Specialized.StringCollection value)

public final void setItemClasses(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.

Parameters:

Parameter Type Description
value com.aspose.ms.System.Collections.Specialized.StringCollection

getMessageClassifications()

public final 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.

Returns: com.aspose.ms.System.Collections.Specialized.StringCollection

setMessageClassifications(System.Collections.Specialized.StringCollection value)

public final void setMessageClassifications(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.

Parameters:

Parameter Type Description
value com.aspose.ms.System.Collections.Specialized.StringCollection

getSentToAddresses()

public final 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.

Returns: MailAddressCollection

setSentToAddresses(MailAddressCollection value)

public final 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.

Parameters:

Parameter Type Description
value MailAddressCollection

getSensitivity()

public final int getSensitivity()

Gets or sets the sensitivity that must be stamped on incoming messages in order for the condition or exception to apply.

Returns: int

setSensitivity(int value)

public final 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.

Parameters:

Parameter Type Description
value int

getWithinDateRange()

public final 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.

Returns: DateRange

setWithinDateRange(DateRange value)

public final 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.

Parameters:

Parameter Type Description
value DateRange

getWithinSizeRange()

public final 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.

Returns: SizeRange

setWithinSizeRange(SizeRange value)

public final 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.

Parameters:

Parameter Type Description
value SizeRange

getRulePredicateFlags()

public final int getRulePredicateFlags()

Gets or sets rule predicate flags

Returns: int

setRulePredicateFlags(int value)

public final void setRulePredicateFlags(int value)

Gets or sets rule predicate flags

Parameters:

Parameter Type Description
value int