Package com.codesseur.validation
Class StringVerifier
- java.lang.Object
-
- com.codesseur.validation.Verifier<String,StringVerifier>
-
- com.codesseur.validation.StringVerifier
-
@Immutable public abstract class StringVerifier extends Verifier<String,StringVerifier>
-
-
Constructor Summary
Constructors Constructor Description StringVerifier()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringVerifierisEmpty()StringVerifierisNotBlank()StringVerifierisNotEmpty()StringVerifiermatchesCaseInsensitive(String regex)StringVerifiermatchesCaseSensitive(String regex)static StringVerifierme(io.vavr.Lazy<? extends String> value)-
Methods inherited from class com.codesseur.validation.Verifier
conditions, flatMap, get, isEqualTo, isIn, isIn, isNotEqualTo, isNotNull, isNull, map, map, matches, notIn, notIn, otherwise, otherwise, otherwise, otherwiseThrow, otherwiseThrow, otherwiseThrow, otherwiseThrowLast, satisfies, satisfies, then, violates
-
-
-
-
Method Detail
-
me
public static StringVerifier me(io.vavr.Lazy<? extends String> value)
-
isEmpty
public StringVerifier isEmpty()
-
isNotEmpty
public StringVerifier isNotEmpty()
-
isNotBlank
public StringVerifier isNotBlank()
-
matchesCaseSensitive
public StringVerifier matchesCaseSensitive(String regex)
-
matchesCaseInsensitive
public StringVerifier matchesCaseInsensitive(String regex)
-
-