@@ -11,9 +11,40 @@ public enum MountFeature {
1111 * and the builder requires {@link MountBuilder#setMountFlags(String)}.
1212 */
1313 MOUNT_FLAGS ,
14- MOUNT_POINT_EMPTY_DIR ,
15- MOUNT_POINT_DRIVE_LETTER ,
16- MOUNT_POINT_PATH_PREFIX ,
14+
15+ /**
16+ * With the exception of a provider-supplied default mount point, the mount point must be an existing dir.
17+ * <p>
18+ * This option is mutually exclusive with {@link #MOUNT_WITHIN_EXISTING_PARENT}.
19+ *
20+ * @see #DEFAULT_MOUNT_POINT
21+ */
22+ MOUNT_TO_EXISTING_DIR ,
23+
24+ /**
25+ * With the exception of a provider-supplied default mount point, the mount point must be a non-existing
26+ * child within an existing parent.
27+ * <p>
28+ * This option is mutually exclusive with {@link #MOUNT_TO_EXISTING_DIR}.
29+ *
30+ * @see #DEFAULT_MOUNT_POINT
31+ */
32+ MOUNT_WITHIN_EXISTING_PARENT ,
33+
34+ /**
35+ * The mount point may be a drive letter.
36+ *
37+ * @see #MOUNT_TO_EXISTING_DIR
38+ * @see #MOUNT_WITHIN_EXISTING_PARENT
39+ */
40+ MOUNT_AS_DRIVE_LETTER ,
41+
42+ /**
43+ * The provider supports suggesting a default mount point via {@link MountProvider#getDefaultMountPoint(String)}.
44+ * <p>
45+ * The default mount point is guaranteed to be supported by the mount builder, regardless of its normal restrictions.
46+ */
47+ DEFAULT_MOUNT_POINT ,
1748
1849 /**
1950 * The builder supports {@link MountBuilder#setReadOnly(boolean)}
@@ -24,16 +55,15 @@ public enum MountFeature {
2455 * The mount supports {@link Mount#unmountForced()}.
2556 */
2657 UNMOUNT_FORCED ,
27- ON_EXIT_ACTION ,
2858
2959 /**
30- * The provider supports {@link MountProvider#getDefaultPort()}
31- * and the builder requires {@link MountBuilder#setPort(int)}.
60+ * The mount supports triggering an event handler, which is somehow triggered at a specific time. // TODO what?
3261 */
33- PORT ,
62+ ON_EXIT_ACTION ,
3463
3564 /**
36- * The provider supports {@link MountProvider#getDefaultMountPoint(String)}
65+ * The provider supports {@link MountProvider#getDefaultPort()}
66+ * and the builder requires {@link MountBuilder#setPort(int)}.
3767 */
38- DEFAULT_MOUNT_POINT
68+ PORT
3969}
0 commit comments