Annotation Type FileExists
-
@Target({FIELD,METHOD,PARAMETER,ANNOTATION_TYPE,TYPE_USE}) @Retention(RUNTIME) @Constraint(validatedBy=FileExistsValidator.class) @Documented public @interface FileExists
The annotated element must represent a file location which exists. Supported types are:PathFileString
Note that constraint message is ignored as it's created by
FileExistsValidator.