Package davmail.exchange
Class ExchangeSession.MonoCondition
java.lang.Object
davmail.exchange.ExchangeSession.MonoCondition
- All Implemented Interfaces:
ExchangeSession.Condition
- Direct Known Subclasses:
DavExchangeSession.MonoCondition
- Enclosing class:
ExchangeSession
public abstract static class ExchangeSession.MonoCondition
extends Object
implements ExchangeSession.Condition
Single search filter condition.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMonoCondition(String attributeName, ExchangeSession.Operator operator) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisEmpty()True if condition is empty.booleanisMatch(ExchangeSession.Contact contact) Test if the contact matches current condition.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface davmail.exchange.ExchangeSession.Condition
appendTo
-
Field Details
-
attributeName
-
operator
-
-
Constructor Details
-
MonoCondition
-
-
Method Details
-
isEmpty
public boolean isEmpty()Description copied from interface:ExchangeSession.ConditionTrue if condition is empty.- Specified by:
isEmptyin interfaceExchangeSession.Condition- Returns:
- true if condition is empty
-
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
-