Package com.codesseur.validation.simple
Class BooleanChecker
- java.lang.Object
-
- com.codesseur.validation.Checker<BooleanChecker,Boolean>
-
- com.codesseur.validation.simple.BooleanChecker
-
public class BooleanChecker extends Checker<BooleanChecker,Boolean>
-
-
Constructor Summary
Constructors Constructor Description BooleanChecker(io.vavr.control.Either<Failures,Boolean> value)BooleanChecker(io.vavr.control.Either<Failures,Boolean> value, Function<Boolean,io.vavr.control.Either<Failure,Boolean>> lastCheck)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanCheckerisFalse()BooleanCheckerisTrue()protected BooleanCheckerwith(io.vavr.control.Either<Failures,Boolean> value, Function<Boolean,io.vavr.control.Either<Failure,Boolean>> lastCheck)-
Methods inherited from class com.codesseur.validation.Checker
destruct, destruct, destruct, destruct, destruct, destruct, destruct, destruct, flatMap, flatMap, get, isEqualTo, isIn, isIn, isInstanceOf, isInstanceOf, isNotEqualTo, isNotNull, isNull, map, matches, notIn, notIn, orElse, orElseFail, orElseFail, orElseFail, orElseGet, orElseGet, orElseThrow, orElseThrow, orElseThrow, orElseThrowLast, satisfies, satisfies, then, violates, violates, with, with
-
-
-
-
Method Detail
-
isTrue
public BooleanChecker isTrue()
-
isFalse
public BooleanChecker isFalse()
-
-