Matching rules category
| Type | Name and description |
|---|---|
java.util.Map<java.lang.String, java.util.List<MatchingRule>> |
matchingRules |
java.lang.String |
name |
RuleLogic |
ruleLogic |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
addRule(java.lang.String item, MatchingRule matchingRule) |
|
void |
addRule(MatchingRule matchingRule) |
|
void |
addRules(java.lang.String item, java.util.List<MatchingRule> rules) |
|
java.util.List<MatchingRule> |
allMatchingRules() |
|
void |
applyMatcherRootPrefix(java.lang.String prefix) |
|
Category |
copy() |
|
Category |
filter(java.util.function.Predicate<java.lang.String> predicate) |
|
boolean |
isEmpty()If the rules are empty |
|
boolean |
isNotEmpty()If the rules are not empty |
|
Category |
maxBy(java.util.function.ToIntFunction<java.lang.String> fn) |
|
void |
setRule(java.lang.String item, MatchingRule matchingRule) |
|
void |
setRule(MatchingRule matchingRule) |
|
java.util.Map |
toMap(PactSpecVersion pactSpecVersion) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
If the rules are empty
If the rules are not empty