Module com.github.rvesse.airline
Annotation Type Path
-
@Retention(RUNTIME) @Target(FIELD) public @interface Path
Annotation 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 boolean
executable
Gets/Sets whether the given file must be executablePathKind
kind
Gets/Sets the kind of file that is expectedboolean
mustExist
Gets/Sets whether the given file must existboolean
readable
Gets/Sets whether the given file must be readableboolean
writable
Gets/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
-
-