Packages

implicit final class ValidateOps[T] extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ValidateOps
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ValidateOps(thisValidate: (T) => Result)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def &[T1 <: T](otherValidate: Validate[T1]): Validate[T1]

    Conjuction.

    Conjuction. Compose this check with another check and expect them both to pass.

  4. def *[U](otherValidate: Validate[U]): Validate[(T, U)]

    Product.

    Product. Compose this check with another check to construct tuple of checks.

  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def ?(otherValidate: Validate[T]): Validate[T]

    Chain two constraints so that if first is true than the second is evaluated.

  7. def ?!(otherValidate: Validate[T]): Validate[T]

    Chain two constraints so that if first is false than the second is evaluated.

  8. def @:(errorPrefix: String): Validate[T]

    Adds prefix to the error messages.

  9. def @@(errorPrefix: String): Validate[T]

    Adds prefix to the error messages.

  10. def and[T1 <: T](otherValidate: Validate[T1]): Validate[T1]

    Conjuction.

    Conjuction. Compose this check with another check and expect them both to pass.

  11. def andWhenValid(otherValidate: Validate[T]): Validate[T]

    Chain two constraints so that if first is true than the second is evaluated.

  12. def andwhenInvalid(otherValidate: Validate[T]): Validate[T]

    Chain two constraints so that if first is false than the second is evaluated.

  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  15. def debug: Validate[T]

    Prints entity and the result for debug purposes.

  16. def debugWith(show: (T) => String): Validate[T]

    Prints entity using supplied function and the result for debug purposes.

  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. 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.

  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. val thisValidate: (T) => Result
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. def withErrorPrefix(errorPrefix: String): Validate[T]

    Adds prefix to the error messages.

  34. def withErrorPrefixComputed(errorPrefix: (T) => String): Validate[T]

    Adds computed prefix to the error messages.

  35. 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.

Inherited from AnyRef

Inherited from Any

Ungrouped