Package net.jqwik.api.constraints
Annotation Type Email
-
@Target({ANNOTATION_TYPE,PARAMETER,TYPE_USE}) @Retention(RUNTIME) @Documented @API(status=EXPERIMENTAL, since="1.3.9") public @interface Email
Constrain strings to be valid email addresses. Applies to string parameters which are also annotated with@ForAll
.- See Also:
ForAll
,EmailArbitrary
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
domainHost
Are hosts with domain name allowed.boolean
ipv4Host
Are hosts with ipv4 addresses allowed.boolean
ipv6Host
Are hosts with ipv6 addresses allowed.boolean
quotedLocalPart
Are quoted local parts allowed.boolean
unquotedLocalPart
Are unquoted local parts allowed.
-