Module com.github.rvesse.airline
Annotation Interface Path
Annotation that marks that an options value must be a valid path to a
file/directory
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
Gets/Sets whether the given file must be executableGets/Sets the kind of file that is expectedboolean
Gets/Sets whether the given file must existboolean
Gets/Sets whether the given file must be readableboolean
Gets/Sets whether the given file must be writable
-
Element Details
-
mustExist
boolean mustExistGets/Sets whether the given file must exist- Returns:
- True if it must exist, false otherwise
- Default:
false
-
writable
boolean writableGets/Sets whether the given file must be writable- Returns:
- True if must be writable, false otherwise
- Default:
true
-
readable
boolean readableGets/Sets whether the given file must be readable- Returns:
- True if must be readable, false otherwise
- Default:
true
-
executable
boolean executableGets/Sets whether the given file must be executable- Returns:
- True if must be executable, false otherwise
- Default:
false
-
kind
PathKind kindGets/Sets the kind of file that is expected- Returns:
- Expected file kind
- Default:
ANY
-