Package org.yamcs.xtce
Interface MatchCriteria
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
BooleanExpression
- All Known Implementing Classes:
ANDedConditions,Comparison,ComparisonList,Condition,ExpressionList,ORedConditions
public interface MatchCriteria extends Serializable
-
-
Field Summary
Fields Modifier and Type Field Description static MatchCriteriaALWAYS_MATCH
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 matchesstatic StringprintExpressionReference(ParameterInstanceRef ref)static StringprintExpressionValue(Object value)static voidprintParsedMatchCriteria(Logger log, MatchCriteria criteria, String indent)For debugging purposeStringtoExpressionString()
-
-
-
Field Detail
-
ALWAYS_MATCH
static final MatchCriteria ALWAYS_MATCH
-
-
Method Detail
-
getDependentParameters
Set<Parameter> getDependentParameters()
Return the set of parameters which are required in order to evaluate the match criteria. If no parameter is required, return an empty set.- Returns:
-
isMet
boolean isMet(CriteriaEvaluator evaluator)
Return true if the condition matches- Parameters:
evaluator-- Returns:
-
toExpressionString
String toExpressionString()
-
printExpressionReference
static String printExpressionReference(ParameterInstanceRef ref)
-
printParsedMatchCriteria
static void printParsedMatchCriteria(Logger log, MatchCriteria criteria, String indent)
For debugging purpose- Parameters:
criteria-
-
-