Package org.kiwiproject.validation
Annotation Type FilePath
-
@Documented @Constraint(validatedBy=FilePathValidator.class) @Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(RUNTIME) public @interface FilePath
The annotated element must point to an existing file.By default does not permit null values. If the element being validated allows
nullvalues, you can setallowNull()totrue.Examples:
@FilePath private String location;
@FilePath(allowNull = true) public String getLocation() { return this.location; }