t

skinny.validator

ValidationRule

trait ValidationRule extends (KeyValueParamDefinition) ⇒ ValidationState with ErrorLike

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ValidationRule
  2. ErrorLike
  3. Function1
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def isValid(value: Any): Boolean

    Validation itself.

    Validation itself.

    value

    any value

    returns

    valid if true

  2. abstract def name: String

    Error name.

    Error name.

    Definition Classes
    ErrorLike

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def &(that: ValidationRule): ValidationRule

    Adds new and condition.

    Adds new and condition.

    that

    new validation rule

    returns

    combined validation rule

  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def and(that: ValidationRule): ValidationRule

    Adds new and condition.

    Adds new and condition.

    that

    new validation rule

    returns

    combined validation rule

  6. def andThen[A](g: (ValidationState) ⇒ A): (KeyValueParamDefinition) ⇒ A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  7. def apply(paramDef: KeyValueParamDefinition): ValidationState

    Applies this validation rule to parameter.

    Applies this validation rule to parameter.

    paramDef

    param definition

    returns

    validation

    Definition Classes
    ValidationRule → Function1
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws(classOf[java.lang.CloneNotSupportedException])
  10. def compose[A](g: (A) ⇒ KeyValueParamDefinition): (A) ⇒ ValidationState
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(other: Any): Boolean
    Definition Classes
    ErrorLike → AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    ErrorLike → AnyRef → Any
  16. def isDouble(v: Any): Boolean
    Attributes
    protected
  17. def isEmpty(v: Any): Boolean
    Attributes
    protected
  18. def isFloat(v: Any): Boolean
    Attributes
    protected
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def isInt(v: Any): Boolean
    Attributes
    protected
  21. def isLong(v: Any): Boolean
    Attributes
    protected
  22. def isNumeric(v: Any): Boolean
    Attributes
    protected
  23. def messageParams: Seq[Any]

    Params to be embedded to message.

    Params to be embedded to message.

    Definition Classes
    ErrorLike
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def nowMillis(): Long
    Attributes
    protected
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toDouble(v: Any): Double
    Attributes
    protected
  30. def toFloat(v: Any): Float
    Attributes
    protected
  31. def toHasGetTime(v: Any): Option[AnyRef { def getTime(): Long }]
    Attributes
    protected
  32. def toHasSize(v: Any): Option[AnyRef { def size(): Int }]
    Attributes
    protected
  33. def toInt(v: Any): Int
    Attributes
    protected
  34. def toLong(v: Any): Long
    Attributes
    protected
  35. def toString(): String
    Definition Classes
    ErrorLike → AnyRef → Any
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws(classOf[java.lang.InterruptedException])

Inherited from ErrorLike

Inherited from AnyRef

Inherited from Any

Ungrouped