public class SetMatcher extends java.lang.Object implements LabelMatcher
| Modifier and Type | Method and Description |
|---|---|
static SetMatcher |
exists(java.lang.String key)
The "exists" set matcher.
|
java.lang.String |
getKey() |
static SetMatcher |
in(java.lang.String key,
java.lang.String... values)
The "in" set matcher.
|
static SetMatcher |
notExists(java.lang.String key)
The "not exists" set matcher.
|
static SetMatcher |
notIn(java.lang.String key,
java.lang.String... values)
The "not in" set matcher.
|
boolean |
test(java.lang.String s)
Returns true if a label value matches.
|
java.lang.String |
toString() |
public static SetMatcher in(java.lang.String key, java.lang.String... values)
key - the keyvalues - the valuespublic static SetMatcher notIn(java.lang.String key, java.lang.String... values)
key - the keyvalues - the valuespublic static SetMatcher exists(java.lang.String key)
key - the keypublic static SetMatcher notExists(java.lang.String key)
key - the keypublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getKey()
getKey in interface LabelMatcherpublic boolean test(java.lang.String s)
LabelMatchertest in interface LabelMatchers - the label valueCopyright © 2020. All rights reserved.