com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class RulePredicates



  • public final class RulePredicates
    extends Object

    Represents rule predicate

    • Method Summary

      Methods 
      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.
    • Constructor Detail

      • RulePredicates

        public RulePredicates()

        Initializes a new instance of the RulePredicates class

    • Method Detail

      • getCategories

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

      • setCategories

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

      • containsBodyStrings

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

      • containsBodyStrings

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

      • containsHeaderStrings

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

      • containsHeaderStrings

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

      • containsRecipientStrings

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

      • containsRecipientStrings

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

      • containsSenderStrings

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

      • containsSenderStrings

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

      • containsSubjectOrBodyStrings

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

      • containsSubjectOrBodyStrings

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

      • containsSubjectStrings

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

      • containsSubjectStrings

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

      • 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.

      • setFlaggedForAction

        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.

      • 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.

      • setFromAddresses

        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.

      • getFromConnectedAccounts

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

      • setFromConnectedAccounts

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

      • 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.

      • setImportance

        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.

      • getItemClasses

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

      • setItemClasses

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

      • getMessageClassifications

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

      • setMessageClassifications

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

      • 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.

      • setSentToAddresses

        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.

      • 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.

      • setSensitivity

        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.

      • 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.

      • setWithinDateRange

        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.

      • 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.

      • setWithinSizeRange

        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.

      • getRulePredicateFlags

        public final int getRulePredicateFlags()

        Gets or sets rule predicate flags

      • setRulePredicateFlags

        public final void setRulePredicateFlags(int value)

        Gets or sets rule predicate flags