Module com.github.rvesse.airline
Annotation Type Path
-
@Retention(RUNTIME) @Target(FIELD) public @interface PathAnnotation that marks that an options value must be a valid path to a file/directory
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanexecutableGets/Sets whether the given file must be executablePathKindkindGets/Sets the kind of file that is expectedbooleanmustExistGets/Sets whether the given file must existbooleanreadableGets/Sets whether the given file must be readablebooleanwritableGets/Sets whether the given file must be writable
-
-
-
-
kind
PathKind kind
Gets/Sets the kind of file that is expected- Returns:
- Expected file kind
- Default:
- com.github.rvesse.airline.annotations.restrictions.PathKind.ANY
-
-