public class AbsentPattern extends StringValuePattern
| Modifier and Type | Field and Description |
|---|---|
static AbsentPattern |
ABSENT |
expectedValue| Constructor and Description |
|---|
AbsentPattern(java.lang.String expectedValue) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getExpected() |
protected boolean |
isNullValuePermitted() |
MatchResult |
match(java.lang.String value) |
boolean |
nullSafeIsAbsent() |
and, equals, getName, hashCode, isAbsent, isPresent, or, toStringgetValuepublic static final AbsentPattern ABSENT
public boolean nullSafeIsAbsent()
nullSafeIsAbsent in class StringValuePatternpublic MatchResult match(java.lang.String value)
public java.lang.String getExpected()
getExpected in interface NamedValueMatcher<java.lang.String>getExpected in class StringValuePatternprotected boolean isNullValuePermitted()
isNullValuePermitted in class ContentPattern<java.lang.String>