
**Inheritance:**
java.lang.Object
```
public final class RuleActions
```

Represents the set of actions that are available to a rule.
## Constructors

| Constructor | Description |
| --- | --- |
| [RuleActions()](#RuleActions--) | Initializes a new instance of the [RuleActions](../../com.aspose.email/ruleactions) class |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getAssignCategories()](#getAssignCategories--) | Gets or sets the categories that are stamped on e-mail messages. |
| [getClass()](#getClass--) |  |
| [getCopyToFolder()](#getCopyToFolder--) | Gets or sets the folder that e-mail items will be copied to. |
| [getDelete()](#getDelete--) | Gets or sets a value indicating whether messages are to be moved to the Deleted Items folder. |
| [getForwardAsAttachmentToRecipients()](#getForwardAsAttachmentToRecipients--) | Gets or sets the e-mail addresses to which messages are to be forwarded as attachments. |
| [getForwardToRecipients()](#getForwardToRecipients--) | Gets or sets the e-mail addresses to which messages are to be forwarded. |
| [getMarkAsRead()](#getMarkAsRead--) | Gets or sets a value indicating whether messages are to be marked as read. |
| [getMarkImportance()](#getMarkImportance--) | Gets or sets the importance that is to be stamped on messages. |
| [getMoveToFolder()](#getMoveToFolder--) | Gets or sets the ID of the folder that e-mail items will be moved to. |
| [getPermanentDelete()](#getPermanentDelete--) | Gets or sets a value indicating whether messages are to be permanently deleted and not saved to the Deleted Items folder. |
| [getRedirectToRecipients()](#getRedirectToRecipients--) | Gets or sets the e-mail addresses to which messages are to be redirected. |
| [getSendSMSAlertToRecipients()](#getSendSMSAlertToRecipients--) | Gets or sets the mobile phone numbers to which a Short Message Service (SMS) alert is to be sent. |
| [getServerReplyWithMessage()](#getServerReplyWithMessage--) | Gets or sets the ID of the template message that is to be sent as a reply to incoming messages. |
| [getStopProcessingRules()](#getStopProcessingRules--) | Gets or sets a value indicating whether subsequent rules are to be evaluated. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setAssignCategories(System.Collections.Specialized.StringCollection value)](#setAssignCategories-com.aspose.ms.System.Collections.Specialized.StringCollection-) | Gets or sets the categories that are stamped on e-mail messages. |
| [setCopyToFolder(String value)](#setCopyToFolder-java.lang.String-) | Gets or sets the folder that e-mail items will be copied to. |
| [setDelete(boolean value)](#setDelete-boolean-) | Gets or sets a value indicating whether messages are to be moved to the Deleted Items folder. |
| [setForwardAsAttachmentToRecipients(MailAddressCollection value)](#setForwardAsAttachmentToRecipients-com.aspose.email.MailAddressCollection-) | Gets or sets the e-mail addresses to which messages are to be forwarded as attachments. |
| [setForwardToRecipients(MailAddressCollection value)](#setForwardToRecipients-com.aspose.email.MailAddressCollection-) | Gets or sets the e-mail addresses to which messages are to be forwarded. |
| [setMarkAsRead(boolean value)](#setMarkAsRead-boolean-) | Gets or sets a value indicating whether messages are to be marked as read. |
| [setMarkImportance(int value)](#setMarkImportance-int-) | Gets or sets the importance that is to be stamped on messages. |
| [setMoveToFolder(String value)](#setMoveToFolder-java.lang.String-) | Gets or sets the ID of the folder that e-mail items will be moved to. |
| [setPermanentDelete(boolean value)](#setPermanentDelete-boolean-) | Gets or sets a value indicating whether messages are to be permanently deleted and not saved to the Deleted Items folder. |
| [setRedirectToRecipients(MailAddressCollection value)](#setRedirectToRecipients-com.aspose.email.MailAddressCollection-) | Gets or sets the e-mail addresses to which messages are to be redirected. |
| [setSendSMSAlertToRecipients(MailAddressCollection value)](#setSendSMSAlertToRecipients-com.aspose.email.MailAddressCollection-) | Gets or sets the mobile phone numbers to which a Short Message Service (SMS) alert is to be sent. |
| [setServerReplyWithMessage(String value)](#setServerReplyWithMessage-java.lang.String-) | Gets or sets the ID of the template message that is to be sent as a reply to incoming messages. |
| [setStopProcessingRules(boolean value)](#setStopProcessingRules-boolean-) | Gets or sets a value indicating whether subsequent rules are to be evaluated. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### RuleActions() {#RuleActions--}
```
public RuleActions()
```


Initializes a new instance of the [RuleActions](../../com.aspose.email/ruleactions) class

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getAssignCategories() {#getAssignCategories--}
```
public final System.Collections.Specialized.StringCollection getAssignCategories()
```


Gets or sets the categories that are stamped on e-mail messages.

**Returns:**
com.aspose.ms.System.Collections.Specialized.StringCollection
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getCopyToFolder() {#getCopyToFolder--}
```
public final String getCopyToFolder()
```


Gets or sets the folder that e-mail items will be copied to.

**Returns:**
java.lang.String
### getDelete() {#getDelete--}
```
public final boolean getDelete()
```


Gets or sets a value indicating whether messages are to be moved to the Deleted Items folder.

**Returns:**
boolean
### getForwardAsAttachmentToRecipients() {#getForwardAsAttachmentToRecipients--}
```
public final MailAddressCollection getForwardAsAttachmentToRecipients()
```


Gets or sets the e-mail addresses to which messages are to be forwarded as attachments.

**Returns:**
[MailAddressCollection](../../com.aspose.email/mailaddresscollection)
### getForwardToRecipients() {#getForwardToRecipients--}
```
public final MailAddressCollection getForwardToRecipients()
```


Gets or sets the e-mail addresses to which messages are to be forwarded.

**Returns:**
[MailAddressCollection](../../com.aspose.email/mailaddresscollection)
### getMarkAsRead() {#getMarkAsRead--}
```
public final boolean getMarkAsRead()
```


Gets or sets a value indicating whether messages are to be marked as read.

**Returns:**
boolean
### getMarkImportance() {#getMarkImportance--}
```
public final int getMarkImportance()
```


Gets or sets the importance that is to be stamped on messages.

**Returns:**
int
### getMoveToFolder() {#getMoveToFolder--}
```
public final String getMoveToFolder()
```


Gets or sets the ID of the folder that e-mail items will be moved to.

**Returns:**
java.lang.String
### getPermanentDelete() {#getPermanentDelete--}
```
public final boolean getPermanentDelete()
```


Gets or sets a value indicating whether messages are to be permanently deleted and not saved to the Deleted Items folder.

**Returns:**
boolean
### getRedirectToRecipients() {#getRedirectToRecipients--}
```
public final MailAddressCollection getRedirectToRecipients()
```


Gets or sets the e-mail addresses to which messages are to be redirected.

**Returns:**
[MailAddressCollection](../../com.aspose.email/mailaddresscollection)
### getSendSMSAlertToRecipients() {#getSendSMSAlertToRecipients--}
```
public final MailAddressCollection getSendSMSAlertToRecipients()
```


Gets or sets the mobile phone numbers to which a Short Message Service (SMS) alert is to be sent.

**Returns:**
[MailAddressCollection](../../com.aspose.email/mailaddresscollection)
### getServerReplyWithMessage() {#getServerReplyWithMessage--}
```
public final String getServerReplyWithMessage()
```


Gets or sets the ID of the template message that is to be sent as a reply to incoming messages.

**Returns:**
java.lang.String
### getStopProcessingRules() {#getStopProcessingRules--}
```
public final boolean getStopProcessingRules()
```


Gets or sets a value indicating whether subsequent rules are to be evaluated.

**Returns:**
boolean
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setAssignCategories(System.Collections.Specialized.StringCollection value) {#setAssignCategories-com.aspose.ms.System.Collections.Specialized.StringCollection-}
```
public final void setAssignCategories(System.Collections.Specialized.StringCollection value)
```


Gets or sets the categories that are stamped on e-mail messages.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | com.aspose.ms.System.Collections.Specialized.StringCollection |  |

### setCopyToFolder(String value) {#setCopyToFolder-java.lang.String-}
```
public final void setCopyToFolder(String value)
```


Gets or sets the folder that e-mail items will be copied to.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setDelete(boolean value) {#setDelete-boolean-}
```
public final void setDelete(boolean value)
```


Gets or sets a value indicating whether messages are to be moved to the Deleted Items folder.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### setForwardAsAttachmentToRecipients(MailAddressCollection value) {#setForwardAsAttachmentToRecipients-com.aspose.email.MailAddressCollection-}
```
public final void setForwardAsAttachmentToRecipients(MailAddressCollection value)
```


Gets or sets the e-mail addresses to which messages are to be forwarded as attachments.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [MailAddressCollection](../../com.aspose.email/mailaddresscollection) |  |

### setForwardToRecipients(MailAddressCollection value) {#setForwardToRecipients-com.aspose.email.MailAddressCollection-}
```
public final void setForwardToRecipients(MailAddressCollection value)
```


Gets or sets the e-mail addresses to which messages are to be forwarded.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [MailAddressCollection](../../com.aspose.email/mailaddresscollection) |  |

### setMarkAsRead(boolean value) {#setMarkAsRead-boolean-}
```
public final void setMarkAsRead(boolean value)
```


Gets or sets a value indicating whether messages are to be marked as read.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### setMarkImportance(int value) {#setMarkImportance-int-}
```
public final void setMarkImportance(int value)
```


Gets or sets the importance that is to be stamped on messages.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setMoveToFolder(String value) {#setMoveToFolder-java.lang.String-}
```
public final void setMoveToFolder(String value)
```


Gets or sets the ID of the folder that e-mail items will be moved to.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setPermanentDelete(boolean value) {#setPermanentDelete-boolean-}
```
public final void setPermanentDelete(boolean value)
```


Gets or sets a value indicating whether messages are to be permanently deleted and not saved to the Deleted Items folder.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### setRedirectToRecipients(MailAddressCollection value) {#setRedirectToRecipients-com.aspose.email.MailAddressCollection-}
```
public final void setRedirectToRecipients(MailAddressCollection value)
```


Gets or sets the e-mail addresses to which messages are to be redirected.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [MailAddressCollection](../../com.aspose.email/mailaddresscollection) |  |

### setSendSMSAlertToRecipients(MailAddressCollection value) {#setSendSMSAlertToRecipients-com.aspose.email.MailAddressCollection-}
```
public final void setSendSMSAlertToRecipients(MailAddressCollection value)
```


Gets or sets the mobile phone numbers to which a Short Message Service (SMS) alert is to be sent.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [MailAddressCollection](../../com.aspose.email/mailaddresscollection) |  |

### setServerReplyWithMessage(String value) {#setServerReplyWithMessage-java.lang.String-}
```
public final void setServerReplyWithMessage(String value)
```


Gets or sets the ID of the template message that is to be sent as a reply to incoming messages.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setStopProcessingRules(boolean value) {#setStopProcessingRules-boolean-}
```
public final void setStopProcessingRules(boolean value)
```


Gets or sets a value indicating whether subsequent rules are to be evaluated.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

