Class MappingRuleMatchers.MatchAllMatcher
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.placement.csmappingrule.MappingRuleMatchers.MatchAllMatcher
- All Implemented Interfaces:
MappingRuleMatcher
- Enclosing class:
- MappingRuleMatchers
public static class MappingRuleMatchers.MatchAllMatcher
extends Object
implements MappingRuleMatcher
MatchAllMatcher is a matcher which matches everything.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatch(VariableContext variables) The match will return true in all cases, to match all submissions.toString()
-
Constructor Details
-
MatchAllMatcher
public MatchAllMatcher()
-
-
Method Details
-
match
The match will return true in all cases, to match all submissions.- Specified by:
matchin interfaceMappingRuleMatcher- Parameters:
variables- The variable context, which contains all the variables- Returns:
- true
-
toString
-