Class MappingRuleMatchers.AndMatcher
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.placement.csmappingrule.MappingRuleMatchers.AndMatcher
- All Implemented Interfaces:
MappingRuleMatcher
- Enclosing class:
- MappingRuleMatchers
AndMatcher is a basic boolean matcher which takes multiple other
matcher as it's arguments, and on match it checks if all 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 all match we return true.toString()
-
Method Details
-
match
This match method will go through all the provided matchers and call their match method, if all match we return true.- Specified by:
matchin interfaceMappingRuleMatcher- Parameters:
variables- The variable context, which contains all the variables- Returns:
- true if all matchers match
-
toString
-