abstract class ValidatorF[F[_]] extends AnyRef
Generic validator
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ValidatorF
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def array(predicate: (Vector[Json]) ⇒ Boolean, msg: (Vector[Json]) ⇒ String = ...): F[Unit]
- def arrayValidator(validators: Vector[F[Unit]]): F[Unit]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bigDecimal(predicate: (BigDecimal) ⇒ Boolean, msg: (BigDecimal) ⇒ String = numViolationMsg): F[Unit]
- def bigInt(predicate: (BigInt) ⇒ Boolean, msg: (BigInt) ⇒ String = numViolationMsg): F[Unit]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def double(predicate: (Double) ⇒ Boolean, msg: (Double) ⇒ String = numViolationMsg): F[Unit]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def eqNumberValidator(expected: JsonNumber): F[Unit]
- def eqStringValidator(expected: String): F[Unit]
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
failed(msg: String = "Fail unconditionally"): F[Unit]
group other
-
def
falseValidator(): F[Unit]
group other
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def forall(validator: F[Unit]): F[Unit]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def int(predicate: (Int) ⇒ Boolean, msg: (Int) ⇒ String = numViolationMsg): F[Unit]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def liftPredicate[A](predicate: (A) ⇒ Boolean, msg: (A) ⇒ String): (A) ⇒ F[Unit]
- def long(predicate: (Long) ⇒ Boolean, msg: (Long) ⇒ String = numViolationMsg): F[Unit]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
nullValidator(): F[Unit]
group other
- def number(predicate: (JsonNumber) ⇒ Boolean, msg: (JsonNumber) ⇒ String = numViolationMsg): F[Unit]
- def objectValidator(objValidator: Vector[(String, F[Unit])]): F[Unit]
-
val
pass: F[Unit]
group other
- def regex(regex: Regex): F[Unit]
- def string(predicate: (String) ⇒ Boolean, msg: (String) ⇒ String = ...): F[Unit]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
trueValidator(): F[Unit]
group other
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def withArray(onArray: (Vector[Json]) ⇒ F[Unit]): F[Unit]
- def withNumber(f: (JsonNumber) ⇒ F[Unit]): F[Unit]
- def withString(f: (String) ⇒ F[Unit]): F[Unit]