public class RuleConditions
extends java.lang.Object
| Constructor and Description |
|---|
RuleConditions()
Initializes a new instance of the RuleConditions class.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getCategories()
Gets the categories that must be applied to an incoming message in order for the condition or exception to apply.
|
java.util.List<java.lang.String> |
getContainsBodyStrings()
Gets the strings that must appear in the body of incoming messages in order for the condition or exception to apply.
|
java.util.List<java.lang.String> |
getContainsHeaderStrings()
Gets the strings that must appear in the headers of incoming messages in order for the condition or exception to apply.
|
java.util.List<java.lang.String> |
getContainsRecipientStrings()
Gets the strings that must appear in either the ToRecipients or CcRecipients properties of incoming messages in order for the condition or exception to apply.
|
java.util.List<java.lang.String> |
getContainsSenderStrings()
Gets the strings that must appear in the From property of incoming messages in order for the condition or exception to apply.
|
java.util.List<java.lang.String> |
getContainsSubjectOrBodyStrings()
Gets the strings that must appear in either the body or the subject of incoming messages in order for the condition or exception to apply.
|
java.util.List<java.lang.String> |
getContainsSubjectStrings()
Gets the strings that must appear in the subject of incoming messages in order for the condition or exception to apply.
|
FlaggedForAction |
getFlaggedForAction()
Gets the flag for action value that must appear on incoming messages in order for the condition or exception to apply.
|
java.util.List<Mailbox> |
getFromAddresses()
Gets the e-mail addresses from which incoming messages must be sent in order for the condition or exception to apply.
|
java.util.List<java.lang.String> |
getFromConnectedAccounts()
Gets the e-mail account names from which incoming messages have to have been aggregated in order for the condition or exception to apply.
|
Importance |
getImportance()
Gets the importance that is stamped on incoming messages in order for the condition or exception to apply.
|
java.util.List<java.lang.String> |
getItemClasses()
Gets the item classes that must be stamped on incoming messages in order for the condition or exception to apply.
|
java.util.List<java.lang.String> |
getMessageClassifications()
Gets the message classifications that must be stamped on incoming messages in order for the condition or exception to apply.
|
boolean |
getNotSentToMe()
Gets whether the owner of the mailbox must not be in the ToRecipients property of the incoming messages in order for the condition or exception to apply.
|
Sensitivity |
getSensitivity()
Gets the sensitivity that must be stamped on incoming messages in order for the condition or exception to apply.
|
boolean |
getSentCcMe()
Gets whether the owner of the mailbox has to be in the CcRecipients property of incoming messages in order for the condition or exception to apply.
|
boolean |
getSentOnlyToMe()
Gets whether the owner of the mailbox has to be the only one in the ToRecipients property of incoming messages in order for the condition or exception to apply.
|
java.util.List<Mailbox> |
getSentToAddresses()
Gets the e-mail addresses that incoming messages have to have been sent to in order for the condition or exception to apply.
|
boolean |
getSentToMe()
Gets whether the owner of the mailbox has to be in the ToRecipients property of incoming messages in order for the condition or exception to apply.
|
boolean |
getSentToOrCcMe()
Gets whether the owner of the mailbox has to be in either a ToRecipients or CcRecipients property of incoming messages in order for the condition or exception to apply.
|
RulePredicateDateRange |
getWithinDateRange()
Gets the date range within which incoming messages have to have been received in order for the condition or exception to apply.
|
RulePredicateSizeRange |
getWithinSizeRange()
Gets the minimum and maximum sizes that incoming messages must be in order for the condition or exception to apply.
|
boolean |
hasAttachments()
Gets whether incoming messages have to have attachments in order for the condition or exception to apply.
|
boolean |
isApprovalRequest()
Gets whether incoming messages must be approval requests in order for the condition or exception to apply.
|
boolean |
isAutomaticForward()
Gets whether incoming messages must be automatic forwards in order for the condition or exception to apply.
|
boolean |
isAutomaticReply()
Gets whether incoming messages must be automatic replies in order for the condition or exception to apply.
|
boolean |
isEncrypted()
Gets whether incoming messages must be S/MIME encrypted in order for the condition or exception to apply.
|
boolean |
isMeetingRequest()
Gets whether incoming messages must be meeting requests in order for the condition or exception to apply.
|
boolean |
isMeetingResponse()
Gets whether incoming messages must be meeting responses in order for the condition or exception to apply.
|
boolean |
isNDR()
Gets whether incoming messages must be non-delivery reports (NDRs) in order for the condition or exception to apply.
|
boolean |
isPermissionControlled()
Gets whether incoming messages must be permission controlled (RMS protected) in order for the condition or exception to apply.
|
boolean |
isReadReceipt()
Gets whether incoming messages must be read receipts in order for the condition or exception to apply.
|
boolean |
isSigned()
Gets whether incoming messages must be S/MIME signed in order for the condition or exception to apply.
|
boolean |
isVoiceMail()
Gets whether incoming messages must be voice mail messages in order for the condition or exception to apply.
|
void |
setAsApprovalRequest(boolean isApprovalRequest)
Sets whether incoming messages must be approval requests in order for the condition or exception to apply.
|
void |
setAsAutomaticForward(boolean isAutomaticForward)
Sets whether incoming messages must be automatic forwards in order for the condition or exception to apply.
|
void |
setAsAutomaticReply(boolean isAutomaticReply)
Sets whether incoming messages must be automatic replies in order for the condition or exception to apply.
|
void |
setAsEncrypted(boolean isEncrypted)
Sets whether incoming messages must be meeting requests in order for the condition or exception to apply.
|
void |
setAsMeetingRequest(boolean isMeetingRequest)
Sets whether incoming messages must be meeting requests in order for the condition or exception to apply.
|
void |
setAsMeetingResponse(boolean isMeetingResponse)
Sets whether incoming messages must be meeting responses in order for the condition or exception to apply.
|
void |
setAsNDR(boolean isNDR)
Sets whether incoming messages must be non-delivery reports (NDRs) in order for the condition or exception to apply.
|
void |
setAsPermissionControlled(boolean isPermissionControlled)
Sets whether incoming messages must be permission controlled (RMS protected) in order for the condition or exception to apply.
|
void |
setAsReadReceipt(boolean isReadReceipt)
Sets whether incoming messages must be read receipts in order for the condition or exception to apply.
|
void |
setAsSigned(boolean isSigned)
Sets whether incoming messages must be S/MIME signed in order for the condition or exception to apply.
|
void |
setAsVoiceMail(boolean isVoiceMail)
Sets whether incoming messages must be voice mail messages in order for the condition or exception to apply.
|
void |
setFlaggedForAction(FlaggedForAction flaggedForAction)
Sets the flag for action value that must appear on incoming messages in order for the condition or exception to apply.
|
void |
setHasAttachments(boolean hasAttachments)
Sets whether incoming messages have to have attachments in order for the condition or exception to apply.
|
void |
setImportance(Importance importance)
Sets the importance that is stamped on incoming messages in order for the condition or exception to apply.
|
void |
setNotSentToMe(boolean notSentToMe)
Sets whether the owner of the mailbox must not be in the ToRecipients property of the incoming messages in order for the condition or exception to apply.
|
void |
setSensitivity(Sensitivity sensitivity)
Sets the sensitivity that must be stamped on incoming messages in order for the condition or exception to apply.
|
void |
setSentCcMe(boolean sentCcMe)
Sets whether the owner of the mailbox has to be in the CcRecipients property of incoming messages in order for the condition or exception to apply.
|
void |
setSentOnlyToMe(boolean sentOnlyToMe)
Sets whether the owner of the mailbox has to be the only one in the ToRecipients property of incoming messages in order for the condition or exception to apply.
|
void |
setSentToMe(boolean sentToMe)
Sets whether the owner of the mailbox has to be in the ToRecipients property of incoming messages in order for the condition or exception to apply.
|
void |
setSentToOrCcMe(boolean sentToOrCcMe)
Sets whether the owner of the mailbox has to be in either a ToRecipients or CcRecipients property of incoming messages in order for the condition or exception to apply.
|
void |
setWithinDateRange(RulePredicateDateRange withinDateRange)
Sets the date range within which incoming messages have to have been received in order for the condition or exception to apply.
|
void |
setWithinSizeRange(RulePredicateSizeRange withinSizeRange)
Sets the minimum and maximum sizes that incoming messages must be in order for the condition or exception to apply.
|
public RuleConditions()
public java.util.List<java.lang.String> getCategories()
public java.util.List<java.lang.String> getContainsBodyStrings()
public java.util.List<java.lang.String> getContainsHeaderStrings()
public java.util.List<java.lang.String> getContainsRecipientStrings()
public java.util.List<java.lang.String> getContainsSenderStrings()
public java.util.List<java.lang.String> getContainsSubjectOrBodyStrings()
public java.util.List<java.lang.String> getContainsSubjectStrings()
public FlaggedForAction getFlaggedForAction()
public void setFlaggedForAction(FlaggedForAction flaggedForAction)
flaggedForAction - the new flagged for actionpublic java.util.List<Mailbox> getFromAddresses()
public java.util.List<java.lang.String> getFromConnectedAccounts()
public boolean hasAttachments()
public void setHasAttachments(boolean hasAttachments)
hasAttachments - the new checks for attachmentspublic Importance getImportance()
public void setImportance(Importance importance)
importance - the new importancepublic boolean isApprovalRequest()
public void setAsApprovalRequest(boolean isApprovalRequest)
isApprovalRequest - the new as approval requestpublic boolean isAutomaticForward()
public void setAsAutomaticForward(boolean isAutomaticForward)
isAutomaticForward - the new as automatic forwardpublic boolean isAutomaticReply()
public void setAsAutomaticReply(boolean isAutomaticReply)
isAutomaticReply - the new as automatic replypublic boolean isEncrypted()
public void setAsEncrypted(boolean isEncrypted)
isEncrypted - the new as encryptedpublic boolean isMeetingRequest()
public void setAsMeetingRequest(boolean isMeetingRequest)
isMeetingRequest - the new as meeting requestpublic boolean isMeetingResponse()
public void setAsMeetingResponse(boolean isMeetingResponse)
isMeetingResponse - the new as meeting responsepublic boolean isNDR()
public void setAsNDR(boolean isNDR)
isNDR - the new as ndrpublic boolean isPermissionControlled()
public void setAsPermissionControlled(boolean isPermissionControlled)
isPermissionControlled - the new as permission controlledpublic boolean isReadReceipt()
public void setAsReadReceipt(boolean isReadReceipt)
isReadReceipt - the new as read receiptpublic boolean isSigned()
public void setAsSigned(boolean isSigned)
isSigned - the new as signedpublic boolean isVoiceMail()
public void setAsVoiceMail(boolean isVoiceMail)
isVoiceMail - the new as voice mailpublic java.util.List<java.lang.String> getItemClasses()
public java.util.List<java.lang.String> getMessageClassifications()
public boolean getNotSentToMe()
public void setNotSentToMe(boolean notSentToMe)
notSentToMe - the new not sent to mepublic boolean getSentCcMe()
public void setSentCcMe(boolean sentCcMe)
sentCcMe - the new sent cc mepublic boolean getSentOnlyToMe()
public void setSentOnlyToMe(boolean sentOnlyToMe)
sentOnlyToMe - the new sent only to mepublic java.util.List<Mailbox> getSentToAddresses()
public boolean getSentToMe()
public void setSentToMe(boolean sentToMe)
sentToMe - the new sent to mepublic boolean getSentToOrCcMe()
public void setSentToOrCcMe(boolean sentToOrCcMe)
sentToOrCcMe - the new sent to or cc mepublic Sensitivity getSensitivity()
public void setSensitivity(Sensitivity sensitivity)
sensitivity - the new sensitivitypublic RulePredicateDateRange getWithinDateRange()
public void setWithinDateRange(RulePredicateDateRange withinDateRange)
withinDateRange - the new within date rangepublic RulePredicateSizeRange getWithinSizeRange()
public void setWithinSizeRange(RulePredicateSizeRange withinSizeRange)
withinSizeRange - the new within size range