public abstract static class ExchangeSession.MultiCondition extends Object implements ExchangeSession.Condition
Modifier and Type | Field and Description |
---|---|
protected List<ExchangeSession.Condition> |
conditions |
protected ExchangeSession.Operator |
operator |
Modifier | Constructor and Description |
---|---|
protected |
MultiCondition(ExchangeSession.Operator operator,
ExchangeSession.Condition... conditions) |
Modifier and Type | Method and Description |
---|---|
void |
add(ExchangeSession.Condition condition)
Add a new condition.
|
List<ExchangeSession.Condition> |
getConditions()
Conditions list.
|
ExchangeSession.Operator |
getOperator()
Condition operator.
|
boolean |
isEmpty()
True if condition is empty.
|
boolean |
isMatch(ExchangeSession.Contact contact)
Test if the contact matches current condition.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
appendTo
protected final ExchangeSession.Operator operator
protected final List<ExchangeSession.Condition> conditions
protected MultiCondition(ExchangeSession.Operator operator, ExchangeSession.Condition... conditions)
public List<ExchangeSession.Condition> getConditions()
public ExchangeSession.Operator getOperator()
public void add(ExchangeSession.Condition condition)
condition
- single conditionpublic boolean isEmpty()
ExchangeSession.Condition
isEmpty
in interface ExchangeSession.Condition
public boolean isMatch(ExchangeSession.Contact contact)
ExchangeSession.Condition
isMatch
in interface ExchangeSession.Condition
contact
- Exchange ContactCopyright © 2001–2024 MickaĆ«l Guessant. All rights reserved.