Package org.immutables.check
Class StringChecker
The string match wrapper.
-
Field Summary
Fields inherited from class org.immutables.check.ObjectChecker
actualValue, negate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidThis is equal to checkvoidisEmpty()voidvoidvoidnot()Makes checker negative.voidnotEmpty()voidstartsWith(String prefix) Methods inherited from class org.immutables.check.ObjectChecker
allOf, anyOf, anything, asString, ensureNonNegative, equals, fail, hashCode, hasToString, is, isA, isIn, isIn, isNull, not, not, notNull, same, satisfies, trimStackTrace, verifyCheck, verifyUsingMatcher, verifyUsingMatcher
-
Constructor Details
-
StringChecker
-
-
Method Details
-
not
Description copied from class:ObjectCheckerMakes checker negative.- Overrides:
notin classObjectChecker<String>- Returns:
- negative checker
-
contains
-
endsWith
-
is
Description copied from class:ObjectCheckerThis is equal to check- Overrides:
isin classObjectChecker<String>- Parameters:
value- the value
-
isEmpty
public void isEmpty() -
isNonEmpty
public void isNonEmpty() -
isNullOrEmpty
public void isNullOrEmpty() -
matches
-
startsWith
-
notEmpty
public void notEmpty()
-