Condition.Operator| Modifier and Type | Field and Description |
|---|---|
protected List<Condition> |
conditions |
protected Condition.Operator |
operator |
| Modifier | Constructor and Description |
|---|---|
protected |
MultiCondition(Condition.Operator operator,
Condition... conditions) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Condition condition)
Add a new condition.
|
List<Condition> |
getConditions()
Conditions list.
|
Condition.Operator |
getOperator()
Condition operator.
|
boolean |
isEmpty()
True if condition is empty.
|
boolean |
isMatch(LdapContact contact)
Test if the contact matches current condition.
|
protected final Condition.Operator operator
protected MultiCondition(Condition.Operator operator, Condition... conditions)
public Condition.Operator getOperator()
public void add(Condition condition)
condition - single conditionpublic boolean isEmpty()
Conditionpublic boolean isMatch(LdapContact contact) throws NotAuthorizedException, BadRequestException
ConditionisMatch in interface Conditioncontact - Exchange ContactNotAuthorizedExceptionBadRequestExceptionCopyright © 2021 McEvoy Software Ltd. All rights reserved.