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