|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.ComplexProperty
microsoft.exchange.webservices.data.Rule
public final class Rule
Represents a rule that automatically handles incoming messages. A rule consists of a set of conditions and exceptions that determine whether or not a set of actions should be executed on incoming messages.
| Constructor Summary | |
|---|---|
Rule()
Initializes a new instance of the Rule class. |
|
| Method Summary | |
|---|---|
RuleActions |
getActions()
Gets the actions that should be executed against incoming messages if the conditions evaluate as true. |
RulePredicates |
getConditions()
Gets the conditions that determine whether or not this rule should be executed against incoming messages. |
String |
getDisplayName()
Gets or sets the name of this rule as it should be displayed to the user. |
RulePredicates |
getExceptions()
Gets the exceptions that determine if this rule should be skipped even if its conditions evaluate to true. |
String |
getId()
Gets or sets the Id of this rule. |
boolean |
getIsEnabled()
Gets or sets a value indicating whether this rule is enabled. |
boolean |
getIsInError()
Gets or sets a value indicating whether this rule has errors. |
boolean |
getIsNotSupported()
Gets a value indicating whether this rule can be modified via EWS. |
int |
getPriority()
Gets or sets the priority of this rule, which determines its execution order. |
protected void |
internalValidate()
Validates this instance. |
void |
setDisplayName(String value)
|
void |
setId(String value)
|
void |
setIsEnabled(boolean value)
|
void |
setIsInError(boolean value)
|
void |
setPriority(int value)
|
protected boolean |
tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
Tries to read element from XML. |
protected void |
writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
Writes elements to XML. |
| Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty |
|---|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, getNamespace, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, validate, writeAttributesToXml, writeToXml, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Rule()
| Method Detail |
|---|
public String getId()
public void setId(String value)
public String getDisplayName()
public void setDisplayName(String value)
public int getPriority()
public void setPriority(int value)
public boolean getIsEnabled()
public void setIsEnabled(boolean value)
public boolean getIsNotSupported()
public boolean getIsInError()
public void setIsInError(boolean value)
public RulePredicates getConditions()
public RuleActions getActions()
public RulePredicates getExceptions()
protected boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
throws Exception
tryReadElementFromXml in class ComplexPropertyreader - The reader.
Exception
protected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
throws Exception
writeElementsToXml in class ComplexPropertywriter - The writer.
Exception
protected void internalValidate()
throws Exception
internalValidate in class ComplexPropertyServiceValidationException - the service validation exception
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||