Class

octopus.dsl

ValidatorOps

Related Doc: package dsl

Permalink

implicit final class ValidatorOps[T] extends AnyVal with Serializable

Linear Supertypes
Serializable, Serializable, AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ValidatorOps
  2. Serializable
  3. Serializable
  4. AnyVal
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ValidatorOps(v: Validator[T])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def async(implicit appError: AppError[Future]): AsyncValidatorAsyncOps[Future, T]

    Permalink
  6. def asyncM[M[_]](implicit arg0: AppError[M]): AsyncValidatorAsyncOps[M, T]

    Permalink
  7. def comap[U](f: (U) ⇒ T): Validator[U]

    Permalink
  8. def compose(v2: Validator[T]): Validator[T]

    Permalink
  9. def composeDerived(implicit dv: DerivedValidator[T]): Validator[T]

    Permalink
  10. def composeSuper[U >: T](v2: Validator[U]): Validator[T]

    Permalink
  11. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. macro def rule[F](selector: (T) ⇒ F, pred: (F) ⇒ Boolean, whenInvalid: String): Validator[T]

    Permalink
  14. def rule(pred: (T) ⇒ Boolean, whenInvalid: String): Validator[T]

    Permalink
  15. def ruleCatchNonFatal(pred: (T) ⇒ Boolean, whenInvalid: String, whenCaught: (Throwable) ⇒ String): Validator[T]

    Permalink
  16. def ruleCatchOnly[E <: Throwable](pred: (T) ⇒ Boolean, whenInvalid: String, whenCaught: (E) ⇒ String)(implicit arg0: ClassTag[E]): Validator[T]

    Permalink
  17. def ruleEither(pred: (T) ⇒ Either[String, Boolean], whenInvalid: String): Validator[T]

    Permalink
  18. def ruleOption(pred: (T) ⇒ Option[Boolean], whenInvalid: String, whenNone: String): Validator[T]

    Permalink
  19. def ruleTry(pred: (T) ⇒ Try[Boolean], whenInvalid: String, whenFailure: (Throwable) ⇒ String): Validator[T]

    Permalink
  20. def ruleVC[V](pred: (V) ⇒ Boolean, whenInvalid: String)(implicit gen: Aux[T, ::[V, HNil]]): Validator[T]

    Permalink
  21. def toString(): String

    Permalink
    Definition Classes
    Any
  22. val v: Validator[T]

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from AnyVal

Inherited from Any

Ungrouped