public class CompositeCondition extends Condition
| Constructor and Description |
|---|
CompositeCondition()
The default constructor for CriteriaListCondition.
|
CompositeCondition(MatchingCriteriaIndicator matchingCriteriaIndicator)
Constructor for CriteriaListCondition.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(Condition condition)
This method adds a child condition.
|
boolean |
check(CertificateToken certificateToken)
Execute the composite condition of the given certificate
|
List<Condition> |
getChildren()
Returns the list of child conditions.
|
MatchingCriteriaIndicator |
getMatchingCriteriaIndicator()
Returns the matching criteria indicator
|
String |
toString() |
String |
toString(String indent) |
public CompositeCondition()
public CompositeCondition(MatchingCriteriaIndicator matchingCriteriaIndicator)
matchingCriteriaIndicator - matching criteria indicator: atLeastOne, all, nonepublic final List<Condition> getChildren()
nullpublic void addChild(Condition condition)
condition - the condition to add in the compositepublic MatchingCriteriaIndicator getMatchingCriteriaIndicator()
public boolean check(CertificateToken certificateToken)
Copyright © 2019. All rights reserved.