|
||||||||
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. |
java.lang.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. |
java.lang.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(java.lang.String value)
|
void |
setId(java.lang.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, func, getNamespace, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, 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 java.lang.String getId()
public void setId(java.lang.String value)
public java.lang.String getDisplayName()
public void setDisplayName(java.lang.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 java.lang.Exception
tryReadElementFromXml
in class ComplexProperty
reader
- The reader.
java.lang.Exception
protected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer) throws java.lang.Exception
writeElementsToXml
in class ComplexProperty
writer
- The writer.
java.lang.Exception
protected void internalValidate() throws java.lang.Exception
internalValidate
in class ComplexProperty
java.lang.Exception
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |