Class MappingRuleMatchers.OrMatcher
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.placement.csmappingrule.MappingRuleMatchers.OrMatcher
- All Implemented Interfaces:
MappingRuleMatcher
- Enclosing class:
- MappingRuleMatchers
OrMatcher is a basic boolean matcher which takes multiple other
matcher as its arguments, and on match it checks if any of them are true.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanmatch(VariableContext variables) This match method will go through all the provided matchers and call their match method, if any of them match we return true.toString()
-
Method Details
-
match
This match method will go through all the provided matchers and call their match method, if any of them match we return true.- Specified by:
matchin interfaceMappingRuleMatcher- Parameters:
variables- The variable context, which contains all the variables- Returns:
- true if any of the matchers match
-
toString
-