screening-core
screening-core
io.hireproof.screening
Normalization
RichValidatedNel
Selection
Selection
Field
History
History
Index
Validation
Validation
And
AndThen
Collection
Collection
AtLeast
AtMost
Contains
Date
Date
After
Before
Duration
Duration
AtLeast
AtMost
Error
Error
Collection
Collection
AtLeast
AtMost
Contains
Exactly
Conflict
Date
Date
After
Before
Duration
Duration
AtLeast
AtMost
Exactly
Invalid
Mapping
Missing
Not
Number
Number
Equal
GreaterThan
LessThan
Optional
Optional
Required
Parsing
Text
Text
AtLeast
AtMost
Email
Equal
Exactly
Matches
Unknown
Errors
Errors
First
Invalid
Lift
Mapping
Modify
Not
Number
Number
Operator
Operator
Equal
GreaterThan
LessThan
Ops
Optional
Required
Or
Parsing
Text
Text
AtLeast
AtMost
Equal
Matches
UnitOps
validations
collection
date
duration
mapping
number
parsing
CatchOnlyBuilder
text
screening-core
/
io.hireproof.screening
/
Validation
Validation
sealed abstract
class
Validation
[
-
I
,
+
O
]
Companion:
object
Graph
Supertypes
Known subtypes
class
Object
trait
Matchable
class
Any
class
And
[
I
]
class
AndThen
[
I
,
X
,
O
]
class
Collection
[
I
]
class
AtLeast
[
F
,
A
]
class
AtMost
[
F
,
A
]
class
Contains
[
F
,
A
]
class
Date
class
After
class
Before
class
Duration
class
AtLeast
class
AtMost
class
First
[
I
,
X
,
O
]
class
Invalid
class
Lift
[
I
,
O
]
class
Mapping
[
I
,
O
]
class
Modify
[
I
,
O
]
class
Not
[
I
]
class
Number
[
I
]
class
Required
[
I
,
O
]
class
Or
[
I
,
O
]
class
Parsing
[
O
]
class
Text
[
O
]
class
AtLeast
class
AtMost
class
Equal
class
Matches
Value members
Value members
Abstract methods
def
errors
(
input:
I
):
List
[
Error
]
def
runUnnormalized
(
input:
I
):
ValidatedNel
[
Error
,
O
]
Concrete methods
def
and
(
right:
Validation
[
I
,
Unit
]):
Validation
[
I
,
Unit
]
Implicitly added by
UnitOps
final
def
andThen
[
T
](
validation:
Validation
[
O
,
T
]):
Validation
[
I
,
T
]
final
def
collect
[
T
](
f:
PartialFunction
[
O
,
T
]):
Validation
[
I
,
T
]
final
def
map
[
T
](
f:
O
=>
T
):
Validation
[
I
,
T
]
final
def
modifyError
(
pf:
PartialFunction
[
Error
,
Error
]):
Validation
[
I
,
O
]
final
def
modifyErrors
(
f:
NonEmptyList
[
Error
]
=>
NonEmptyList
[
Error
]):
Validation
[
I
,
O
]
final
def
normalize
:
Validation
[
I
,
O
]
def
or
(
right:
Validation
[
I
,
O
]):
Validation
[
I
,
O
]
Implicitly added by
Ops
def
required
[
T
](
implicit
ev:
O
=:=
Option
[
T
]):
Validation
[
I
,
T
]
Implicitly added by
Ops
def
run
(
input:
I
):
ValidatedNel
[
Error
,
O
]
def
tap
:
Validation
[
I
,
I
]
Implicitly added by
Ops
final
def
toDebugString
:
String
final
def
withError
(
error:
Error
):
Validation
[
I
,
O
]
final
def
withErrors
(
errors:
NonEmptyList
[
Error
]):
Validation
[
I
,
O
]
Concrete fields
val
validation
:
Validation
[
I
,
O
]
Implicitly added by
Ops
val
validation
:
Validation
[
I
,
Unit
]
Implicitly added by
UnitOps