case class ValidationSuccess[+T]() extends ValidationResult[T] with Product with Serializable
A case class that represents a validation success of type T. Extends a ValidationResult[T] and implements the errors function with an empty list
- T
the type of ValidationResult
- Alphabetic
- By Inheritance
- ValidationSuccess
- Serializable
- Serializable
- Product
- Equals
- ValidationResult
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ValidationSuccess()
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
errors: Seq[T]
Returns an empty list
Returns an empty list
- returns
the list of errors from the validation result
- Definition Classes
- ValidationSuccess → ValidationResult
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isFailure: Boolean
Check if the validation failed
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isSuccess: Boolean
Check if the validation succeeded
Check if the validation succeeded
- returns
if the validation succeded
- Definition Classes
- ValidationResult
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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( ... )