toggle menu
Spezi Documentation
androidJvm
switch theme
search in API
design
/
edu.stanford.spezi.core.design.views.validation
/
ValidationRule
Validation
Rule
data
class
ValidationRule
Members
Constructors
Validation
Rule
Link copied to clipboard
constructor
(
regex
:
Regex
,
message
:
StringResource
)
constructor
(
copy
:
ValidationRule
,
message
:
StringResource
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
effect
Link copied to clipboard
val
effect
:
CascadingValidationEffect
id
Link copied to clipboard
val
id
:
UUID
intercepting
Link copied to clipboard
val
intercepting
:
ValidationRule
message
Link copied to clipboard
val
message
:
StringResource
rule
Link copied to clipboard
val
rule
:
(
String
)
->
Boolean
Functions
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
validate
Link copied to clipboard
fun
validate
(
input
:
String
)
:
FailedValidationResult
?