ResultStatus

Enum with the different result statuses acknowledged by the app

Companion:
class
Source:
ResultStatus.scala
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

case object ERRORED extends ResultStatus

Data could not be validated, errors arose during the validation process

Data could not be validated, errors arose during the validation process

Source:
ResultStatus.scala
case object INVALID extends ResultStatus

Data could be validated and turned out INVALID

Data could be validated and turned out INVALID

Source:
ResultStatus.scala
case object VALID extends ResultStatus

Data could be validated and turned out VALID

Data could be validated and turned out VALID

Source:
ResultStatus.scala

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
Source:
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror
Source:
Mirror.scala

Value members

Concrete methods

def fromValidationReport(report: Option[Result]): ResultStatus

Shortcut for extracting the result status from a Validation result

Shortcut for extracting the result status from a Validation result

Value parameters:
report

Input result

Returns:

An ERRORED status if results are missing, or a VALID/INVALID status depending on the input state

Source:
ResultStatus.scala