public static final class TopicPlacement.ConstraintCount extends Object
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
constraints() |
int |
count() |
boolean |
equals(Object o) |
int |
hashCode() |
static boolean |
isSubset(Map<String,String> attributes1,
Map<String,String> attributes2) |
boolean |
matches(Map<String,String> attributes) |
static TopicPlacement.ConstraintCount |
of(int count,
Map<String,String> constraint) |
String |
toString() |
public int count()
public static boolean isSubset(Map<String,String> attributes1, Map<String,String> attributes2)
attributes1
- the attributes that are checked for all being in attributes2attributes2
- the attributes that attributes1 checks againstpublic static TopicPlacement.ConstraintCount of(int count, Map<String,String> constraint)