Package org.yamcs.xtce
Class ComparisonList
- java.lang.Object
-
- org.yamcs.xtce.ComparisonList
-
- All Implemented Interfaces:
Serializable,MatchCriteria
public class ComparisonList extends Object implements MatchCriteria
All comparisons must be true.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.yamcs.xtce.MatchCriteria
ALWAYS_MATCH
-
-
Constructor Summary
Constructors Constructor Description ComparisonList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddComparison(Comparison comparison)List<Comparison>getComparisonList()Set<Parameter>getDependentParameters()Return the set of parameters which are required in order to evaluate the match criteria.booleanisMet(CriteriaEvaluator evaluator)Return true if the condition matchesStringtoExpressionString()StringtoString()
-
-
-
Method Detail
-
addComparison
public void addComparison(Comparison comparison)
-
getDependentParameters
public Set<Parameter> getDependentParameters()
Description copied from interface:MatchCriteriaReturn the set of parameters which are required in order to evaluate the match criteria. If no parameter is required, return an empty set.- Specified by:
getDependentParametersin interfaceMatchCriteria- Returns:
-
isMet
public boolean isMet(CriteriaEvaluator evaluator)
Description copied from interface:MatchCriteriaReturn true if the condition matches- Specified by:
isMetin interfaceMatchCriteria- Returns:
-
getComparisonList
public List<Comparison> getComparisonList()
-
toExpressionString
public String toExpressionString()
- Specified by:
toExpressionStringin interfaceMatchCriteria
-
-