Class that encapsulates the matching rules to be applied
| Type Params | Return Type | Name and description |
|---|---|---|
|
Category |
addCategory(java.lang.String category) |
|
Category |
addCategory(Category category) |
|
MatchingRules |
copy() |
|
static MatchingRules |
fromMap(java.util.Map map)Constructs the matching rules from a Map |
|
void |
fromV2Map(java.util.Map map)Loads from V2 format matching rules |
|
void |
fromV3Map(java.util.Map map)Loads from V3 format matching rules |
|
java.util.Set<java.lang.String> |
getCategories() |
|
boolean |
hasCategory(java.lang.String category) |
|
boolean |
isEmpty()If the rules are empty |
|
boolean |
isNotEmpty()If the rules are not empty |
|
Category |
rulesForCategory(java.lang.String category) |
|
java.util.Map |
toMap(PactSpecVersion pactSpecVersion) |
|
java.lang.String |
toString() |
|
java.util.Map |
toV2Map() |
|
java.util.Map |
toV3Map() |
| 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() |
Constructs the matching rules from a Map
Loads from V2 format matching rules
Loads from V3 format matching rules
If the rules are empty
If the rules are not empty