implicit final class ValidateOps[T] extends AnyRef
- Alphabetic
- By Inheritance
- ValidateOps
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def &[T1 <: T](otherValidate: Validate[T1]): Validate[T1]
Conjuction.
Conjuction. Compose this check with another check and expect them both to pass.
- def *[U](otherValidate: Validate[U]): Validate[(T, U)]
Product.
Product. Compose this check with another check to construct tuple of checks.
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def ?(otherValidate: Validate[T]): Validate[T]
Chain two constraints so that if first is true than the second is evaluated.
- def ?!(otherValidate: Validate[T]): Validate[T]
Chain two constraints so that if first is false than the second is evaluated.
- def @:(errorPrefix: String): Validate[T]
Adds prefix to the error messages.
- def @@(errorPrefix: String): Validate[T]
Adds prefix to the error messages.
- def and[T1 <: T](otherValidate: Validate[T1]): Validate[T1]
Conjuction.
Conjuction. Compose this check with another check and expect them both to pass.
- def andWhenValid(otherValidate: Validate[T]): Validate[T]
Chain two constraints so that if first is true than the second is evaluated.
- def andwhenInvalid(otherValidate: Validate[T]): Validate[T]
Chain two constraints so that if first is false than the second is evaluated.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def debug: Validate[T]
Prints entity and the result for debug purposes.
- def debugWith(show: (T) => String): Validate[T]
Prints entity using supplied function and the result for debug purposes.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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 or[T1 <: T](otherValidate: Validate[T1]): Validate[T1]
Disjunction.
Disjunction. Compose this check with another check and expect at least one of them to pass.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val thisValidate: (T) => Result
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withErrorPrefix(errorPrefix: String): Validate[T]
Adds prefix to the error messages.
- def withErrorPrefixComputed(errorPrefix: (T) => String): Validate[T]
Adds computed prefix to the error messages.
- def |[T1 <: T](otherValidate: Validate[T1]): Validate[T1]
Disjunction.
Disjunction. Compose this check with another check and expect at least one of them to pass.