Package davmail.exchange.ews
Class EwsExchangeSession.AttributeCondition
java.lang.Object
davmail.exchange.ExchangeSession.AttributeCondition
davmail.exchange.ews.EwsExchangeSession.AttributeCondition
- All Implemented Interfaces:
SearchExpression,ExchangeSession.Condition
- Direct Known Subclasses:
EwsExchangeSession.HeaderCondition
- Enclosing class:
EwsExchangeSession
protected static class EwsExchangeSession.AttributeCondition
extends ExchangeSession.AttributeCondition
implements SearchExpression
-
Field Summary
FieldsFields inherited from class davmail.exchange.ExchangeSession.AttributeCondition
attributeName, operator, value -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAttributeCondition(String attributeName, ExchangeSession.Operator operator, String value) protectedAttributeCondition(String attributeName, ExchangeSession.Operator operator, String value, ContainmentMode containmentMode, ContainmentComparison containmentComparison) -
Method Summary
Modifier and TypeMethodDescriptionvoidappendTo(StringBuilder buffer) Append search expression to buffer.protected FieldURIprotected ExchangeSession.OperatorbooleanisMatch(ExchangeSession.Contact contact) Test if the contact matches current condition.Methods inherited from class davmail.exchange.ExchangeSession.AttributeCondition
getAttributeName, getValue, isEmpty
-
Field Details
-
containmentMode
-
containmentComparison
-
-
Constructor Details
-
AttributeCondition
-
AttributeCondition
protected AttributeCondition(String attributeName, ExchangeSession.Operator operator, String value, ContainmentMode containmentMode, ContainmentComparison containmentComparison)
-
-
Method Details
-
getFieldURI
-
getOperator
-
appendTo
Description copied from interface:SearchExpressionAppend search expression to buffer.- Specified by:
appendToin interfaceExchangeSession.Condition- Specified by:
appendToin interfaceSearchExpression- Parameters:
buffer- search buffer
-
isMatch
Description copied from interface:ExchangeSession.ConditionTest if the contact matches current condition.- Specified by:
isMatchin interfaceExchangeSession.Condition- Parameters:
contact- Exchange Contact- Returns:
- true if contact matches condition
-