Email
constraint instead@Documented @Constraint(validatedBy={}) @Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(value=RUNTIME) @Repeatable(value=Email.List.class) @ReportAsSingleViolation @Pattern(regexp="") @Deprecated public @interface Email
public abstract String message
public abstract Class<?>[] groups
@OverridesAttribute(constraint=Pattern.class, name="regexp") public abstract String regexp
@OverridesAttribute(constraint=Pattern.class, name="flags") public abstract Pattern.Flag[] flags
regexp()
in order to specify a regular expression optionCopyright © 2019 JBoss by Red Hat. All rights reserved.